RFR: 8271419: Refactor test code for modifying CDS archive contents [v2]

Calvin Cheung ccheung at openjdk.java.net
Mon Aug 2 19:25:02 UTC 2021


On Mon, 2 Aug 2021 18:48:17 GMT, Yumin Qi <minqi at openjdk.org> wrote:

>> test/hotspot/jtreg/runtime/cds/appcds/SharedArchiveConsistency.java line 39:
>> 
>>> 37: import jdk.test.lib.cds.CDSArchiveUtils;
>>> 38: import jdk.test.lib.process.OutputAnalyzer;
>>> 39: import jdk.test.lib.Utils;
>> 
>> The above import of Utils is no longer needed.
>
> This one is new added util class, it is needed here. Do you think it is CDSTestUtils ?

I was referring to `import jdk.test.lib.Utils;`. It was for `Utils.getRandomInstance();` and the code has been moved to the new class `CDSArchiveUtils`.

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

PR: https://git.openjdk.java.net/jdk/pull/4945


More information about the hotspot-runtime-dev mailing list