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

Roger Riggs rriggs at openjdk.org
Wed Mar 15 19:29:08 UTC 2023


On Tue, 14 Mar 2023 18:50:11 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.

The test failures in jdi are not due to --enable-preview, for now only address the cds test failure.

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

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



More information about the valhalla-dev mailing list