AW: [JDK-8153077] JNLP example with -XaddExports
Alan Bateman
Alan.Bateman at oracle.com
Thu Jan 19 10:36:59 UTC 2017
On 19/01/2017 09:35, Reto Merz wrote:
> One more question: Is it possible to use --add-opens in JNLP ?
> We have try this:
>
> <java version="9+"
> java-vm-args="--add-opens=java.base/java.lang=ALL-UNNAMED"/>
>
> This seems not to work/legal, or we use the wrong syntax:
> #### Java Web Start Error:
> #### Unable to make field private final byte[] java.lang.String.value accessible: module java.base does not "opens java.lang" to unnamed module @60bfc3dd
>
Not yet but there is an issue (JDK-8172986) tracking this. It is of
course questionable as to whether it's a good idea or not.
BTW: Do you know what is hacking into String.value?
-Alan
More information about the jigsaw-dev
mailing list