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

Chen Liang liach at openjdk.org
Fri Sep 5 15:43:27 UTC 2025


On Fri, 5 Sep 2025 15:40:54 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

>> 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.

Thanks, looks good from a ClassFile API perspective.

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

Marked as reviewed by liach (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/27116#pullrequestreview-3189862085


More information about the hotspot-runtime-dev mailing list