4515292: ReferenceType.isStatic() returns true for arrays
Summary: Add implementation of isStatic() in com.sun.tools.jdi.ArrayTypeImpl
Reviewed-by: sla, sspitsyn
--- 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; }
}