RFR: 8272608: java_lang_System::allow_security_manager() doesn't set its initialization flag
David Holmes
dholmes at openjdk.java.net
Tue Sep 7 04:58:37 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.
Thanks for the fix Matias!
David
-------------
Marked as reviewed by dholmes (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/5268
More information about the hotspot-runtime-dev
mailing list