`ValueBased` talks about constructor avoidance but does not specify the reason. 
It's better to include the reason because it's not straightforward from the 
fact that there's no binary incompatibility.

Also `InvalidClassException` benefits from descriptions about 
strictly-initialized fields.

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

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

Commit messages:
 - Minor ValueBased and InvalidClassException comments

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

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

Reply via email to