On Thu, 1 Oct 2026 09:57:56 GMT, Arno Zeller <[email protected]> wrote:

>> Several CDS-related tests rely on the existence of the classes.jsa file. 
>> They need @requires vm.cds.default.archive.available to not fail in cross 
>> builds that can not generate these file.
>> 
>> ---------
>> - [x] I confirm that I make this contribution in accordance with the 
>> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai).
>
> Arno Zeller has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Adjust copyright

Looks good to me for solving your immediate problem with cross builds.

Most of the CDS tests are written to not rely on the default archive. Instead, 
they create a new CDS archive that matches with the current VM flag. 

Some of the tests touched by this PR violates this pattern and should be 
rewritten. I've filed a follow-up RFE 
https://bugs.openjdk.org/browse/JDK-8393418

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

Marked as reviewed by iklam (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/33163#pullrequestreview-5382506983

Reply via email to