RFR: JDK-8283075: Bad `IllegalArgumentException` message when calling `ClassDesc.arrayType(int)` which results in a rank > 255

Joe Darcy darcy at openjdk.java.net
Mon Mar 14 20:06:13 UTC 2022


Improving the exception messages for out-of-supported-range array types.

I'll update copyrights before pushing.

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

Commit messages:
 - Appease jcheck
 - Update @bug line of test
 - JDK-8283075: Bad `IllegalArgumentException` message when calling `ClassDesc.arrayType(int)` which results in a rank > 255

Changes: https://git.openjdk.java.net/jdk/pull/7812/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=7812&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8283075
  Stats: 29 lines in 2 files changed: 24 ins; 0 del; 5 mod
  Patch: https://git.openjdk.java.net/jdk/pull/7812.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/7812/head:pull/7812

PR: https://git.openjdk.java.net/jdk/pull/7812


More information about the core-libs-dev mailing list