hg: jdk8/tl/jdk: 7044282: (reflect) Class.forName and Array.newInstance are inconsistent regarding multidimensional arrays

joel.franck at oracle.com joel.franck at oracle.com
Thu Oct 10 16:19:01 UTC 2013


Changeset: f25d9d8811ca
Author:    jfranck
Date:      2013-10-10 18:11 +0200
URL:       http://hg.openjdk.java.net/jdk8/tl/jdk/rev/f25d9d8811ca

7044282: (reflect) Class.forName and Array.newInstance are inconsistent regarding multidimensional arrays
Reviewed-by: darcy, psandoz

! src/share/classes/java/lang/reflect/Array.java
+ test/java/lang/Class/forName/arrayClass/Class1.java
+ test/java/lang/Class/forName/arrayClass/Class2.java
+ test/java/lang/Class/forName/arrayClass/Class3.java
+ test/java/lang/Class/forName/arrayClass/Class4.java
+ test/java/lang/Class/forName/arrayClass/ExceedMaxDim.java
! test/java/lang/reflect/Array/ExceedMaxDim.java




More information about the security-dev mailing list