[lworld] Integrated: 8368475: [lworld] Add preview classes to jimage at make time
David Beaumont
duke at openjdk.org
Wed Nov 19 12:52:03 UTC 2025
On Fri, 7 Nov 2025 13:51:44 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".
This pull request has now been integrated.
Changeset: 8ff62c86
Author: David Beaumont <david.beaumont at oracle.com>
Committer: Roger Riggs <rriggs at openjdk.org>
URL: https://git.openjdk.org/valhalla/commit/8ff62c86d900e4a060993b0c619d9ecddc5aa227
Stats: 27 lines in 1 file changed: 25 ins; 0 del; 2 mod
8368475: [lworld] Add preview classes to jimage at make time
Reviewed-by: rriggs
-------------
PR: https://git.openjdk.org/valhalla/pull/1727
More information about the valhalla-dev
mailing list