RFR: 8273774: CDSPluginTest should only expect classes_nocoops.jsa exists on supported 64-bit platforms [v4]
github.com+22913521+1996scarlet at openjdk.java.net
Fri Sep 17 02:11:51 UTC 2021
On Fri, 17 Sep 2021 01:52:30 GMT, Mandy Chung <mchung at openjdk.org> wrote:
>> Remilia Scarlet has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR. The pull request contains one new commit since the last revision:
>> 8273774: CDSPluginTest should only expect classes_nocoops.jsa exists on supported 64-bit platforms
> test/jdk/tools/jlink/plugins/CDSPluginTest.java line 84:
>> 82: }
>> 84: // Simulate different platforms between current runtime and target image.
> The above change checking 64-bit platform should not be needed. On an unknown platform, `isDefaultCDSArchiveSupported` should return false. It only returns true on 64-bit supported platforms. Can you verfiy?
I just try it on LoongArch64 and mips64el.
The `Platform.isDefaultCDSArchiveSupported()` returns true.
So the above checking can not be removed.
Also, I just forgot add `import jtreg.SkippedException`.
More information about the core-libs-dev