IMPORTANT: Building JavaFX 9-dev now requires jdk-9+148 and	_JAVA_OPTIONS
    Kevin Rushforth 
    kevin.rushforth at oracle.com
       
    Tue Dec 13 15:56:37 UTC 2016
    
    
  
As I mentioned in a "heads-up" email [1] last week, the promoted 
jdk-9+148 build contains the latest batch of jigsaw changes, which 
require incompatible changes in the module-info.java files of JavaFX 
9-dev. I have pushed the changes for JDK-8170485 [2] to FX 9-dev this 
morning.
You must do the following two things to continue to build FX 9-dev once 
you pull the latest sources from the repo:
1. Use jdk-9+148 to build
2. Set the following env variable prior to running "gradle":
export _JAVA_OPTIONS="-Dsun.reflect.debugModuleAccessChecks=true 
--add-opens=java.base/java.lang=ALL-UNNAMED 
--add-opens=java.base/java.util=ALL-UNNAMED 
--add-opens=java.base/java.lang.invoke=ALL-UNNAMED 
--add-opens=java.base/java.io=ALL-UNNAMED 
--add-opens=java.base/java.util.concurrent=ALL-UNNAMED 
--add-opens=java.base/java.text=ALL-UNNAMED"
This requirement is also documented in the rt/README-java-options file.
-- Kevin
[1] 
http://mail.openjdk.java.net/pipermail/openjfx-dev/2016-December/020014.html
[2] https://bugs.openjdk.java.net/browse/JDK-8170485
    
    
More information about the openjfx-dev
mailing list