RFR: 8374052: Use java/util/Calendar in ReplaceCriticalClasses.java test
Coleen Phillimore
coleenp at openjdk.org
Fri Dec 19 13:01:52 UTC 2025
This patch replaces Locale with Calendar since Locale can be loaded during the JVMTI PRIMORDIAL phase and not be loaded with the ClassFileLoadHook. See linked bug for details. (https://bugs.openjdk.org/browse/JDK-8372686)
Tested with the test on windows.
-------------
Commit messages:
- 8374052: Use java/util/Calendar in ReplaceCriticalClasses.java test
Changes: https://git.openjdk.org/jdk/pull/28914/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28914&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8374052
Stats: 5 lines in 1 file changed: 0 ins; 1 del; 4 mod
Patch: https://git.openjdk.org/jdk/pull/28914.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/28914/head:pull/28914
PR: https://git.openjdk.org/jdk/pull/28914
More information about the hotspot-runtime-dev
mailing list