Merging change 901124 from classlib trunk:

  r901124 | hindessm | 2010-01-20 10:45:48 +0000 (Wed, 20 Jan 2010) | 2 lines

  Quick fix for build break with Harmony version of this class.



git-svn-id: https://svn.apache.org/repos/asf/harmony/enhanced/classlib/tags/5.0m12a@901633 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/modules/concurrent/src/main/java/java/util/concurrent/CopyOnWriteArrayList.java b/modules/concurrent/src/main/java/java/util/concurrent/CopyOnWriteArrayList.java
index 6f58c50..1697fb8 100644
--- a/modules/concurrent/src/main/java/java/util/concurrent/CopyOnWriteArrayList.java
+++ b/modules/concurrent/src/main/java/java/util/concurrent/CopyOnWriteArrayList.java
@@ -468,7 +468,7 @@
     }
 
     /**
-     * gets the internal data array
+     * gets the internal data array (or a new array if it is null)
      *
      * @return the data array
      */
@@ -725,6 +725,15 @@
     }
 
     /**
+     * gets the internal data array
+     *
+     * @return the data array
+     */
+    final E[] getArray() {
+        return arr;
+    }
+
+    /**
      * list iterator implementation,
      * when created gets snapshot of the list,
      * so never throws ConcurrentModificationException
@@ -1171,4 +1180,5 @@
             setData(back);
         }
     }
-}
+
+}
\ No newline at end of file