jdk/src/share/classes/com/sun/beans/decoder/ArrayElementHandler.java
changeset 21273 802d3ddab4ec
parent 5506 202f599c92aa
child 21278 ef8a3a2a72f2
--- a/jdk/src/share/classes/com/sun/beans/decoder/ArrayElementHandler.java	Thu Oct 24 19:50:33 2013 +0400
+++ b/jdk/src/share/classes/com/sun/beans/decoder/ArrayElementHandler.java	Fri Oct 25 13:41:19 2013 +0400
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2008, 2013 Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -110,6 +110,20 @@
     }
 
     /**
+     * Tests whether the value of this element can be used
+     * as an argument of the element that contained in this one.
+     *
+     * @return {@code true} if the value of this element can be used
+     *         as an argument of the element that contained in this one,
+     *         {@code false} otherwise
+     */
+    @Override
+    protected boolean isArgument() {
+        return true; // hack for compatibility
+    }
+
+
+    /**
      * Creates an instance of the array.
      *
      * @param type  the base class