RFR: 8366908: Use a different class for testing JDK-8351654
Coleen Phillimore
coleenp at openjdk.org
Fri Sep 5 11:40:41 UTC 2025
java.time.Duration is a migrated class (to be a value type) in the Valhalla repo, so it's preloaded, which causes this test to fail. Using a different java.base class achieves the purpose of this test.
Tested with tier1.
-------------
Commit messages:
- 8366908: Use a different class for testing JDK-8351654
Changes: https://git.openjdk.org/jdk/pull/27116/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=27116&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8366908
Stats: 5 lines in 1 file changed: 1 ins; 1 del; 3 mod
Patch: https://git.openjdk.org/jdk/pull/27116.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/27116/head:pull/27116
PR: https://git.openjdk.org/jdk/pull/27116
More information about the hotspot-runtime-dev
mailing list