RFR (12): 8191053: Provide a mechanism to make system's security manager immutable

Alan Bateman Alan.Bateman at oracle.com
Tue Sep 18 19:51:22 UTC 2018


On 18/09/2018 15:07, Peter wrote:
> Hi Alan,
>
> I'm a little time poor presently, but will put it on my todo list.  
> Admittedly this is one part of the JVM that could have better test 
> coverage.   Implementing a custom SecurityManager was fraught with 
> recursion difficulties,
If you can get time to try to reproduce with a JDK 11 or 12 build then 
it would be useful. As things stand there are still issues with using 
lambda expressions in the checkPermission method [1] but I believe the 
other recursive initialization issues that arise with malformed policy 
files or lcating resources for exception messages have been resolved.

-Alan.

[1] https://bugs.openjdk.java.net/browse/JDK-8155659



More information about the security-dev mailing list