On Wed, 8 Jul 2026 22:24:18 GMT, Chen Liang <[email protected]> wrote:

> This is some extremely basic overview about value class migrations.
> 
> 1. Build: I intentionally skipped the streamlined build system installed by 
> David Beaumont. Instead, I stressed the custom handling used by Value Objects 
> JEP. (The "Preview Classes in Interim `javac`" section might go to general 
> documentation later.)
> 
> 2. Testing: I started from the motivations/goals and describe how those goals 
> are accomplished.
> 3. Wrapper class caches: Some simple overview.
> 
> There are definitely more topics to cover; feel free to raise.
> 
> Paging @jddarcy and @viktorklang-ora for proofreading.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

doc/value-class-preview.md line 69:

> 67: 
> 68:    See [`BuildMicroBenchmarks.gmk`](../make/test/BuildMicrobenchmark.gmk) 
> for an example.
> 69: 

I recommend explicitly stating up front "Different class files are used at 
runtime when preview is enabled."

I believe that is a new-with-JEP-401 implementation technique for JEPs.

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

PR Review Comment: 
https://git.openjdk.org/valhalla/pull/2633#discussion_r3561340322

Reply via email to