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

Calvin Cheung ccheung at openjdk.org
Mon Mar 31 22:25:15 UTC 2025


On Sun, 30 Mar 2025 01:09:28 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

>> Calvin Cheung has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   simplify the fix per David's suggestion
>
> test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/DynamicArchiveRelocationTest.java line 48:
> 
>> 46:     static int relocationMode = -1;
>> 47:     public static void main(String... args) throws Exception {
>> 48:         WhiteBox wb = WhiteBox.getWhiteBox();
> 
> It seems this test already had WhiteBox enabled, but wasn't actually using it before this change.

Yes, the base class `DynamicArchiveTestBase` requires `WhiteBox`.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24308#discussion_r2021851608


More information about the hotspot-dev mailing list