[lworld] Integrated: 8271959: [lworld] Convert Optional and VBS classes to value class

Roger Riggs rriggs at openjdk.org
Wed Mar 8 22:02:43 UTC 2023


On Thu, 26 Jan 2023 01:38:03 GMT, Roger Riggs <rriggs at openjdk.org> wrote:

> Make copies of classes to be made value classes in src/java.base/valueclasses/classes 
> Modify CompileJavaModules.gmk to trigger builds of values classes and construct a .jar for each module.
> Add the jar files to $JAVA_HOME/lib/valueclasses/<module\>-valueclasses.jar 
> 
> Modify hotspot arguments.cpp to scan for patch jar files when --enable-preview and -XX:+EnableValhalla.
> For each jar, the equivalent of --patch-module <module>=<path-to-jar> is added and the system properties `jdk.module.patch.<n>` include jar file paths.

This pull request has now been integrated.

Changeset: 4f71167c
Author:    Roger Riggs <rriggs at openjdk.org>
URL:       https://git.openjdk.org/valhalla/commit/4f71167ca2eacc3330e1a4b709c482c3d0bd36e5
Stats:     379 lines in 15 files changed: 328 ins; 22 del; 29 mod

8271959: [lworld] Convert Optional and VBS classes to value class

Reviewed-by: erikj, mchung

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

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



More information about the valhalla-dev mailing list