RFR: 8268250: Class.arrayType() for a 255-d array throws undocumented IllegalArgumentException [v4]

Alan Bateman alanb at openjdk.java.net
Thu Feb 17 10:10:06 UTC 2022


On Thu, 17 Feb 2022 05:11:40 GMT, Joe Darcy <darcy at openjdk.org> wrote:

>> Make explicit illegal argument cases of Class.arrayType.
>> 
>> Please also review the corresponding CSR: https://bugs.openjdk.java.net/browse/JDK-8268300
>
> Joe Darcy has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Respond to review feedback.

The updated proposal to throw UOE (rather than IAE) looks good.

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

Marked as reviewed by alanb (Reviewer).

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


More information about the core-libs-dev mailing list