RFR: 8272608: java_lang_System::allow_security_manager() doesn't set its initialization flag
Matias Saavedra Silva
github.com+38446717+matias9927 at openjdk.java.net
Tue Sep 7 04:05:54 UTC 2021
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.
-------------
Commit messages:
- Set initialized to true
Changes: https://git.openjdk.java.net/jdk/pull/5268/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=5268&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8272608
Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod
Patch: https://git.openjdk.java.net/jdk/pull/5268.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/5268/head:pull/5268
PR: https://git.openjdk.java.net/jdk/pull/5268
More information about the hotspot-runtime-dev
mailing list