Closed as program error.
Error Message: ArrayIndexOutOfBoundsException in AbstractCollection.toArray() because the toArray method is not designed to handle a concurrent problem. . Stack Trace: Exception in thread "Thread-17" java.lang.ArrayIndexOutOfBoundsException at java.util.AbstractCollection.toArray(AbstractCollection.java:353 ) at CHMTest$ArrayRunnable.run(CHMTest.java:26) at java.lang.Thread.run(Thread.java:736) .
The problem is caused by using AbstractCollection.toArray in concurrent environment.
This defect will be fixed in: 6.0.1 SR1 6.0.0 SR10 . When there are two or more threads, it is possible a collection grows during toArray is called. The original design doesn't handle this case and the returned array is not long enough to contain all the items in collection, as result, indexoutofbound exception is thrown. toArray is changed to handle concurrent "add/remove" cases. . To obtain the fix: Install build 20110925 or later
Reported component name
JAVA CLASS LIBS
Reported component ID
Last modified date
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fixed component name
JAVA CLASS LIBS
Fixed component ID
Applicable component levels
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.