[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-openjfx-dev
Subject:    IMPORTANT: Building JavaFX 9-dev now requires jdk-9+148 and _JAVA_OPTIONS
From:       Kevin Rushforth <kevin.rushforth () oracle ! com>
Date:       2016-12-13 15:56:37
Message-ID: 58501A35.1030105 () oracle ! com
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic