--- old/tools/Jemmy/JemmyFX/src/org/jemmy/fx/Lookups.java 2017-01-31 14:08:11.959889434 +0300 +++ new/tools/Jemmy/JemmyFX/src/org/jemmy/fx/Lookups.java 2017-01-31 14:08:11.903888885 +0300 @@ -60,7 +60,7 @@ */ @SuppressWarnings("unchecked") public static Wrap byID(Wrap parent, String id, Class type) { - return byID(parent.as(Parent.class, Node.class), id, type); + return byID((Parent) parent.as(Parent.class, Node.class), id, type); } /** * Equivalent to parent.lookup(type, new ByText(text)).wrap(0) @@ -84,7 +84,7 @@ */ @SuppressWarnings("unchecked") public static Wrap byText(Wrap parent, String id, Class type) { - return byText(parent.as(Parent.class, Node.class), id, type); + return byText((Parent) parent.as(Parent.class, Node.class), id, type); } /** * Equivalent to FXRoot.ROOT.lookup(new ByTitleSceneLookup(title)).wrap(0).as(Parent.class, Node.class)