JDK-4030374 - Java Issue Tracker
Feb 5, 1997 ... ... code generation error in JDK 1.1.7B compiler. It appears that non-local ... Middle(Outer) // constructor for Outer.Middle 0 aload_0 1 dup 2 ...
Feb 5, 1997 ... ... code generation error in JDK 1.1.7B compiler. It appears that non-local ... Middle(Outer) // constructor for Outer.Middle 0 aload_0 1 dup 2 ...
When run with Java 1.6_21 the code works fine regardless of the access specifier of arr. EXPECTED VERSUS ACTUAL BEHAVIOR : EXPECTED - The console should readOverride public String toString() {. return Arrays.toString(arr)
C2 can generate out-of-bounds array loads. If executed, such a load can crash the VM, e.g. during GC, as the attached TEST.java demonstrates.The method returns a clone of the current node if it loads from the result of an Object.clone() call on an array.
JDK-6361355 : java.lang.reflect.Array.newInstance() does not allow "run time type tokens".For example, if you have "Class<T> klass", then you can create an instance "T instane = klass.newInstance()". However, this does not apply to arrays.
jdk1.4.0beta-b54 java.lang.Class: newInstance() incorrectly throws IllegalAccessException creating an instance of the class from the same package with protected nullary constructor.