changeset 9301:281577c18568

4515292: ReferenceType.isStatic() returns true for arrays Summary: Add implementation of isStatic() in com.sun.tools.jdi.ArrayTypeImpl Reviewed-by: sla, sspitsyn
author farvidsson
date Tue, 18 Feb 2014 11:23:00 +0100
parents efeab0eae50f
children 7624251c9887
files src/share/classes/com/sun/tools/jdi/ArrayTypeImpl.java
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/com/sun/tools/jdi/ArrayTypeImpl.java	Tue Jan 21 15:17:57 2014 +0100
+++ b/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; }
 }