4515292: ReferenceType.isStatic() returns true for arrays
authorfarvidsson
Tue, 18 Feb 2014 11:23:00 +0100
changeset 22981 e3195924b412
parent 22980 19675dcb8ec9
child 22982 9b9414a0aa64
4515292: ReferenceType.isStatic() returns true for arrays Summary: Add implementation of isStatic() in com.sun.tools.jdi.ArrayTypeImpl Reviewed-by: sla, sspitsyn
jdk/src/share/classes/com/sun/tools/jdi/ArrayTypeImpl.java
--- a/jdk/src/share/classes/com/sun/tools/jdi/ArrayTypeImpl.java	Tue Jan 21 15:17:57 2014 +0100
+++ b/jdk/src/share/classes/com/sun/tools/jdi/ArrayTypeImpl.java	Tue Feb 18 11:23:00 2014 +0100
@@ -200,4 +200,9 @@
      * Defined always to be true for arrays
      */
     public boolean isFinal() { return true; }
+
+    /*
+     * Defined always to be false for arrays
+     */
+    public boolean isStatic() { return false; }
 }