[lworld] RFR: 8368475: [lworld] Add preview classes to jimage at make time [v4]

duke duke at openjdk.org
Wed Nov 19 12:46:47 UTC 2025


On Wed, 19 Nov 2025 11:59:18 GMT, David Beaumont <duke at openjdk.org> wrote:

>> Copies valuetype classes for each module into corresponding "/META-INF/preview/..." sub-directories to be pulled into jimage files and processed by the new preview mode handling code.
>> 
>> There might be a better way to do this in terms of Makefile semantics, but this seems to work well enough and doesn't prevent the value-class JAR files being generated for patching (which is still how everyone will get value classes until the rest of the work is plumbed in).
>> 
>> To enable the new preview mode work, set the "DISABLE_PREVIEW_PATCHING" system property to "true".
>
> David Beaumont has updated the pull request incrementally with one additional commit since the last revision:
> 
>   added notes for what needs fixing later

@david-beaumont 
Your change (at version f3ce482f31e558806599f1ef7481b4ad473ba2f4) is now ready to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/valhalla/pull/1727#issuecomment-3552512029


More information about the valhalla-dev mailing list