[lworld] RFR: 8372686: [lworld] runtime/cds/serviceability/ReplaceCriticalClasses.java fails with --enable-preview
Paul Hübner
phubner at openjdk.org
Tue Dec 16 17:38:43 UTC 2025
On Tue, 16 Dec 2025 17:27:29 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
> This change fixes the test to try to load a different class with a CFLH. With --enable-preview, the java/util/Locale class may be loaded when loading the migrated classes at VM startup, so will be shared in this configuration. So I picked java/util/Calendar instead.
> Tested with the test on windows-x64.
Wow, good catch. Do you know who/what causes `Locale` to be loaded?
-------------
Marked as reviewed by phubner (Committer).
PR Review: https://git.openjdk.org/valhalla/pull/1808#pullrequestreview-3584225521
More information about the valhalla-dev
mailing list