The Deserializer documentation states that it only applies to the boot class 
path. There is an implementation defect right now. Updated 
`ValueSerializationTest` to add positive and negative tests for a value class 
with `@Deserializer` both on and off the boot class path.

In the test updates I noticed `SerializedObjectCombo` is broken that it never 
generates value classes somehow; tracked in 
[JDK-8388597](https://bugs.openjdk.org/browse/JDK-8388597).

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

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

Commit messages:
 - Deserializer should only apply for boot class path

Changes: https://git.openjdk.org/valhalla/pull/2661/files
  Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=2661&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8388318
  Stats: 35 lines in 3 files changed: 30 ins; 0 del; 5 mod
  Patch: https://git.openjdk.org/valhalla/pull/2661.diff
  Fetch: git fetch https://git.openjdk.org/valhalla.git pull/2661/head:pull/2661

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

Reply via email to