[lworld] RFR: 8325343: [lworld] java/lang/reflect/Proxy/ClassRestrictions.java fails with NPE

Mandy Chung mchung at openjdk.org
Tue Feb 6 18:17:11 UTC 2024


Trivial 1-line fix is to check if the type is found or not before calling `PrimitiveClass::asPrimaryType`.

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

Commit messages:
 - 8325343: [lworld] java/lang/reflect/Proxy/ClassRestrictions.java fails with NPE

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

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



More information about the valhalla-dev mailing list