RFR: 8366908: Use a different class for testing JDK-8351654 [v2]

Coleen Phillimore coleenp at openjdk.org
Fri Sep 5 15:43:26 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.

Coleen Phillimore has updated the pull request incrementally with one additional commit since the last revision:

  remove unreachable line.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/27116/files
  - new: https://git.openjdk.org/jdk/pull/27116/files/b3480350..0616cf65

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=27116&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=27116&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 1 del; 0 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