RFR: 8287764: runtime/cds/serviceability/ReplaceCriticalClasses failed on localized Windows

KIRIYAMA Takuya duke at openjdk.java.net
Fri Jun 3 07:04:53 UTC 2022


The ReplaceCriticalClasses verifies CDS behavior when replacing the Readable interface as an example of a class that is read after JVMTI_PHASE_PRIMORDIAL.
However, the order in which classes are loaded is affected by the language of the test environment, so the timing at which the Readable interface is loaded also changes on Windows with multibyte characters.
Therefore, the Readable interface is not suitable for this test and should be removed.

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

Commit messages:
 - 8287764: runtime/cds/serviceability/ReplaceCriticalClasses failed on localized Windows

Changes: https://git.openjdk.java.net/jdk/pull/9009/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=9009&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8287764
  Stats: 2 lines in 1 file changed: 0 ins; 1 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/9009.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/9009/head:pull/9009

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


More information about the hotspot-runtime-dev mailing list