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

Reply via email to