RFR: 8353129: CDS ArchiveRelocation tests fail after JDK-8325132 [v2]

Ioi Lam iklam at openjdk.org
Mon Mar 31 22:58:11 UTC 2025


On Mon, 31 Mar 2025 22:15:39 GMT, Calvin Cheung <ccheung at openjdk.org> wrote:

>> Two archive relocation tests failed when `-XX:ArchiveRelocationMode=0` is specified via the jtreg `-javaoption`.
>> A fix is to add a `WhiteBox.getArchiveRelocationMode()` method so that the tests can check if the `ArchiveRelocationMode` is set to 0 before checking the expected output.
>> 
>> Passed tiers 1 - 4 testing.
>
> Calvin Cheung has updated the pull request incrementally with one additional commit since the last revision:
> 
>   simplify the fix per David's suggestion

LGTM.

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

Marked as reviewed by iklam (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/24308#pullrequestreview-2730694923


More information about the hotspot-dev mailing list