For the test: test/hotspot/jtreg/runtime/cds/serviceability/ReplaceCriticalClasses.java
The class java.util.Locale and BaseLocale may be loaded during the JVMTI PRIMORDIAL phase if module patching is used for some classes on Windows. Use the java.util.Calendar class in the test instead.
This change is upstreamed from the valhalla repo.
- relates to
-
JDK-8372686 [lworld] runtime/cds/serviceability/ReplaceCriticalClasses.java fails with --enable-preview
-
- Resolved
-
- links to
-
Commit(master)
openjdk/jdk/23fc21a3
-
Review(master)
openjdk/jdk/28914