RFR: JDK-8219480: j.l.c.ClassDesc::arrayType(int rank) throws IllegalArgumentException if rank = 0

Mandy Chung mandy.chung at oracle.com
Thu Feb 21 22:22:23 UTC 2019



On 2/20/19 3:10 PM, Vicente Romero wrote:
> Please review the simple patch to fix [1] at [2]. The patch is simply 
> adding a comment to the API, (javadoc) to sync it with the implementation.
> 
> Thanks,
> Vicente
> 
> [1] https://bugs.openjdk.java.net/browse/JDK-8219480
> [2] http://cr.openjdk.java.net/~vromero/8219480/webrev.00/

+     * @throws IllegalArgumentException if the rank is less or equal to 
zero or if the rank of the resulting array type is

typo: s/less or equal to/less than or equal to/

This needs a CSR for the spec fix.

Mandy


More information about the core-libs-dev mailing list