Added CloneWithValueFields test to verify clone behavior with value class 
fields and arrays

Tests cover field cloning, independence, null handling, inheritance, array 
cloning, and GC survival using migrated value class types (Integer, Long, 
Double, Short)

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

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

Commit messages:
 - 8384108: Add array fields to custom value class clone test
 - 8384108: Add custom value class clone tests
 - 8384108: Update runtime/clone tests with value classes

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

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

Reply via email to