Issue with JavaFX and Jigsaw
Alex Buckley
alex.buckley at oracle.com
Mon Apr 17 20:03:41 UTC 2017
On 4/17/2017 12:56 PM, Kevin Rushforth wrote:
> The current implementation effectively requires that the containing
> package of the type in question be exported unconditionally, since
> javafx.beans uses the sun.reflect.misc.Trampoline class to reflectively
> call the module. It happens to work if the user exports or opens the
> package to ALL-UNNAMED on the command line, but that isn't something we
> would want to document or recommend. Without changing the implementation
> (which would be quite risky for JDK 9), it seems best to just require
> the application's package to be unconditionally exported in JDK 9 and
> then relax this requirement in JDK 10 to allow it to be exported (or
> opened) just to javafx.base.
OK, so for the JDK 9 docs, "unconditionally exported (or unconditionally
opened)" would be clear.
Alex
More information about the jigsaw-dev
mailing list