AW: [JDK-8153077] JNLP example with -XaddExports
robbiexgibson at yahoo.com
Thu Jan 19 10:00:28 UTC 2017
I don't think this works in WebStart, which is usually a bit behind the curve in option handling. I filled a bug for exactly this problem yesterday but I don't have a bug number yet.
> On 19 Jan 2017, at 10:35, Reto Merz <reto.merz at abacus.ch> wrote:
> One more question: Is it possible to use --add-opens in JNLP ?
> We have try this:
> <java version="9+"
> 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
>> -----Ursprüngliche Nachricht-----
>> Von: Alan Bateman [mailto:Alan.Bateman at oracle.com]
>> Gesendet: Mittwoch, 18. Januar 2017 14:48
>> An: Reto Merz; jigsaw-dev at openjdk.java.net
>> Betreff: Re: [JDK-8153077] JNLP example with -XaddExports
>>> On 18/01/2017 13:35, Reto Merz wrote:
>>> Is there any documentation or a public available working example how to
>> use -XaddExports for WebStart apps ?
>>> I have no acces to the example mentioned in JDK-8153077.
>>> We try this:
>>> <j2se version="1.8+" java-vm-args="-
>> I suspect this is what you want (and should be allowed because the
>> application is signed):
>> <java version="9+"
>> At the same time then it would be good to understand why this code needs
>> to make direct use of types in sun.security.action. As there isn't
>> anything very critical in that package then it make be a
>> straight-forward dependency to remove.
More information about the jigsaw-dev