[lworld] RFR: 8304168: [lworld] CDS tests fail with --enable-preview patched value classes [v2]

Mandy Chung mchung at openjdk.org
Wed Mar 15 21:38:48 UTC 2023


On Wed, 15 Mar 2023 19:29:07 GMT, Roger Riggs <rriggs at openjdk.org> wrote:

>> When --enable-preview is true, the patching of some java.base classes as value classes disables CDS. 
>> Subsequently the CDS tests fail.
>> 
>> For a CDS, disable Valhalla when --enable-preview is set so java.base is not patched with value classes.
>
> Roger Riggs has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Revert change to jdi TestScaffold

I think it may be better to problem list this test and create a JBS issue to follow up how CDS works with `--enable-preview` (that currently translates into `--patch-module` options).

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

PR: https://git.openjdk.org/valhalla/pull/832



More information about the valhalla-dev mailing list