Name: tb29552 Date: 03/06/2001
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0)
Java HotSpot(TM) Client VM (build 1.3.0, mixed mode)
for the code like:
public class Hello{
public static void main(String[] args){
int[] x=new int[3];
x[2]=4;
}
} // Hello
attempt to do
print x.length
in debugger produces
No instance field or method with the name length in int[]
(Review ID: 118076)
======================================================================
- relates to
-
JDK-4723882 TTY: dump <ArrayReference> command not implemented.
-
- Resolved
-
-
JDK-4099045 jdb does not recognize length field of arrays
-
- Closed
-