Re: -Djava.security.manager=problems for service providers

2018-03-28 Thread Peter Firmstone
I tested the JDK 9 pre releases and didn't experience issues, will have to test again against the latest. Note on JDK1.8.0_162 it doesn't only affect the PolicyFile provider. Thanks, Peter. On 27/03/2018 11:06 PM, Alan Bateman wrote: Moving this to security-dev. From the stack trace, it l

RE: -Djava.security.manager=problems for service providers

2018-03-27 Thread Peter
Thanks Daniel, Ah yes, I see what's happening and why this only occurs when using -Djava.security.manager= sun.misc.Launcher calls the security manager constructor from within its constructor, which creates a recursive call back to the static method Launcher.getLauncher(), which returns the

Re: -Djava.security.manager=problems for service providers

2018-03-27 Thread Daniel Fuchs
Hi, On 27/03/2018 14:06, Alan Bateman wrote: Moving this to security-dev. From the stack trace, it looks like you are using JDK 8 or older. There are several changes in JDK 9 and newer in the PolicyFile code to how it loads its resources that may help with the issues you are seeing. -Alan

Re: -Djava.security.manager=problems for service providers

2018-03-27 Thread Alan Bateman
Moving this to security-dev. From the stack trace, it looks like you are using JDK 8 or older. There are several changes in JDK 9 and newer in the PolicyFile code to how it loads its resources that may help with the issues you are seeing. -Alan On 27/03/2018 13:56, Peter Firmstone wrote: No