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

Coleen Phillimore coleenp at openjdk.java.net
Tue Sep 7 22:25: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.

I can sponsor this now that Matias has OCA coverage.  Thanks Matias!

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

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


More information about the hotspot-runtime-dev mailing list