Failure building openjfx 9-dev against jdk9 build fails
Sven Reimers
sven.reimers at gmail.com
Fri Aug 28 20:42:18 UTC 2015
Hi,
I get the following error trying to compile latest 9-dev from openjfx
against latest jdk9:
:swing:compileJava
[ant:javac]
/Users/sven/oss/openjfx/9-dev/modules/swing/src/main/java/javafx/embed/swing/FXDnD.java:480:
error: cannot find symbol
[ant:javac] if (ctx != null) ctx.removeNotify();
[ant:javac] ^
[ant:javac] symbol: method removeNotify()
[ant:javac] location: variable ctx of type DropTargetContext
[ant:javac]
/Users/sven/oss/openjfx/9-dev/modules/swing/src/main/java/javafx/embed/swing/FXDnD.java:489:
error: cannot find symbol
[ant:javac]
ctx.addNotify(FXDropTargetContextPeer.this);
[ant:javac] ^
[ant:javac] symbol: method addNotify(FXDnD.FXDropTargetContextPeer)
[ant:javac] location: variable ctx of type DropTargetContext
[ant:javac]
/Users/sven/oss/openjfx/9-dev/modules/swing/src/main/java/javafx/embed/swing/FXDnD.java:511:
error: cannot find symbol
[ant:javac] if (ctx != null) ctx.removeNotify();
[ant:javac] ^
[ant:javac] symbol: method removeNotify()
[ant:javac] location: variable ctx of type DropTargetContext
[ant:javac]
/Users/sven/oss/openjfx/9-dev/modules/swing/src/main/java/javafx/embed/swing/FXDnD.java:520:
error: cannot find symbol
[ant:javac] if (ctx != null) ctx.removeNotify();
[ant:javac] ^
[ant:javac] symbol: method removeNotify()
[ant:javac] location: variable ctx of type DropTargetContext
[ant:javac] Note: Some input files use or override a deprecated API.
[ant:javac] Note: Recompile with -Xlint:deprecation for details.
[ant:javac] Note:
/Users/sven/oss/openjfx/9-dev/modules/swing/src/main/java/javafx/embed/swing/FXDnD.java
uses unchecked or unsafe operations.
[ant:javac] Note: Recompile with -Xlint:unchecked for details.
[ant:javac] 4 errors
Reason seems to be the change
http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/e1888730a57e
Could not find the issue in the JBS - maybe may jira fu was not good
enough...
So should we build 9-dev against jdk8u-60?
Seems I must have missed something
-Sven
--
Sven Reimers
* Senior Expert Software Architect
* Java Champion
* NetBeans Dream Team Member: http://dreamteam.netbeans.org
* Community Leader NetBeans: http://community.java.net/netbeans
Desktop Java:
http://community.java.net/javadesktop
* JUG Leader JUG Bodensee: http://www.jug-bodensee.de
* Duke's Choice Award Winner 2009
* Blog: https://www.java.net//blog/sven
* XING: https://www.xing.com/profile/Sven_Reimers8
* LinkedIn: http://www.linkedin.com/in/svenreimers
More information about the openjfx-dev
mailing list