[lworld] RFR: 8338698: [lworld] ObjectStreamClass should throw InstantiationException for abstract value class

Roger Riggs rriggs at openjdk.org
Wed Aug 21 00:19:44 UTC 2024


Updated ObjectStreamClass creation of newValueInstance to throw InstantiationException if the class is abstract or identity class.

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

Commit messages:
 - 8338698: [lworld] ObjectStreamClass should throw InstantiationException for abstract value class

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

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


More information about the valhalla-dev mailing list