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 5:

> 3: ## Introduction
> 4: 
> 5: The "Value Objects" JEP introduces value objects and migrates suitable 
> classes

Rewording suggestion to avoid the need to say "JEP"; something like: "Value 
objects and value classes are a preview feature that migrates selected platform 
classes to value classes. This mean when ..."

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

> 5: The "Value Objects" JEP introduces value objects and migrates suitable 
> classes
> 6: to value classes. This means that when preview features are enabled, a 
> different
> 7: classpath is available to Java programs.

Nit: is it a _class_path or a _module_path or does that detail not matter here?

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

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

Reply via email to