[lworld] RFR: 8372686: [lworld] runtime/cds/serviceability/ReplaceCriticalClasses.java fails with --enable-preview

Coleen Phillimore coleenp at openjdk.org
Tue Dec 16 19:44:53 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.

This doesn't actually work or else our test system isn't working.  Closing for now.

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

PR Comment: https://git.openjdk.org/valhalla/pull/1808#issuecomment-3662104087


More information about the valhalla-dev mailing list