Adds one case to the value objects test: cloning a value object read from a 
flattened field. The field read materializes the value from the embedded 
payload and clone returns it. Looks simple but the chain crosses the read 
materialization and buffering machinery, and optimization changes there can 
break it, so worth pinning.


---------
- [x] I confirm that I make this contribution in accordance with the [OpenJDK 
Interim AI Policy](https://openjdk.org/legal/ai).

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

Commit messages:
 - 8384108: Test Object.clone on a value object read from a flattened field

Changes: https://git.openjdk.org/jdk/pull/32284/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=32284&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8384108
  Stats: 26 lines in 1 file changed: 26 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/32284.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/32284/head:pull/32284

PR: https://git.openjdk.org/jdk/pull/32284

Reply via email to