RFR: 8272608: java_lang_System::allow_security_manager() doesn't set its initialization flag

Coleen Phillimore coleenp at openjdk.java.net
Fri Sep 10 01:09:05 UTC 2021


On Thu, 26 Aug 2021 16:00:01 GMT, Matias Saavedra Silva <github.com+38446717+matias9927 at openjdk.org> wrote:

> Originally the initialized flag was always false causing the System fields to be read each time the method is called. The flag is now set the first time it runs.
> Tested with tier1, specifically with runtime/logging/ProtectionDomainVerificationTest.java.

We're not really sure what the message means, so I don't think changing it is necessary.  I'm going to go ahead and sponsor it and see what happens.  Thanks Matias!!

-------------

PR: https://git.openjdk.java.net/jdk/pull/5268


More information about the hotspot-runtime-dev mailing list