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

Roger Riggs rriggs at openjdk.org
Mon Feb 27 23:38:13 UTC 2023


> 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.

Roger Riggs has updated the pull request incrementally with two additional commits since the last revision:

 - Revert unnecessary removals of super() in java.time.zone
 - Revert unnecessary removals of super() in java.time.format classes.

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

Changes:
  - all: https://git.openjdk.org/valhalla/pull/816/files
  - new: https://git.openjdk.org/valhalla/pull/816/files/02453b1c..e9ac22e9

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=valhalla&pr=816&range=05
 - incr: https://webrevs.openjdk.org/?repo=valhalla&pr=816&range=04-05

  Stats: 8 lines in 4 files changed: 8 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/valhalla/pull/816.diff
  Fetch: git fetch https://git.openjdk.org/valhalla pull/816/head:pull/816

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



More information about the valhalla-dev mailing list