RFR (12): 8191053: Provide a mechanism to make system's security manager immutable
Alan Bateman
Alan.Bateman at oracle.com
Fri Sep 14 10:12:58 UTC 2018
On 14/09/2018 00:19, Bernd Eckenfels wrote:
> :
>
> I am curious, did you verify that the compiler will actually optimize
> the getSecurityManager null check in case allow=never?
Yes, and the reason the allowSecurityManager field is an int rather than
a boolean is so that it get sets to a value other than its default.
-Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/security-dev/attachments/20180914/e2b90ee3/attachment.htm>
More information about the security-dev
mailing list