Re: Source file launch with security manager enabled fails

2022-02-03 Thread Jaikiran Pai
On 03/02/22 7:07 pm, Alan Bateman wrote: I think it would be useful to hear from Jon Gibbons or someone else working on javac first. It would be a bit unusual to run the compiler with a security manager and I thought it was deliberate to not grant permissions to jdk.compiler in the default

Re: Source file launch with security manager enabled fails

2022-02-03 Thread Alan Bateman
I think it would be useful to hear from Jon Gibbons or someone else working on javac first. It would be a bit unusual to run the compiler with a security manager and I thought it was deliberate to not grant permissions to jdk.compiler in the default policy. Also the source code launcher is a

Re: Source file launch with security manager enabled fails

2022-02-03 Thread Jaikiran Pai
Thank you Sean for the confirmation. I just filed https://bugs.openjdk.java.net/browse/JDK-8281217 to track this. -Jaikiran On 03/02/22 6:55 pm, Sean Mullan wrote: I only took a quick look, but it looks like a bug. The jdk.compiler module needs to be granted that permission in the default.poli

Re: Source file launch with security manager enabled fails

2022-02-03 Thread Sean Mullan
I only took a quick look, but it looks like a bug. The jdk.compiler module needs to be granted that permission in the default.policy file. Please file a bug, or if you like I can file one on your behalf. Thanks, Sean On 2/3/22 8:01 AM, Jaikiran Pai wrote: I'm unsure if core-libs is the right