RFR: 8195744: Avoid calling ClassLoader.checkPackageAccess if security manager is not installed [v3]
Mandy Chung
mchung at openjdk.java.net
Fri Feb 5 17:46:47 UTC 2021
On Fri, 5 Feb 2021 16:03:45 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
>> src/java.base/share/classes/java/lang/System.java line 163:
>>
>>> 161:
>>> 162: // indicates if a security manager is possible
>>> 163: // @implNote The HotSpot JVM hardcodes the value of NEVER.
>>
>> You don't need this if the VM reads the value of NEVER.
>
> ok.
This is also good to me.
-------------
PR: https://git.openjdk.java.net/jdk/pull/2410
More information about the hotspot-runtime-dev
mailing list