Closed as program error.
Error Message: Customer code is using private Map map = new ConcurrentHashMap(); ArrayList ar = new ArrayList(map.keySet()); Newly created ArrayList is seen to have null entries, while it was iteratored. . Stack Trace: N/A .
With ArrayList.toArray(T a) method, if the collection list fits in the specified array, it is returned therein. Otherwise, a new array is allocated with the runtime type of the specified array and the size of collection list. The problem occurs with existing code whenever new allocation of array object happens with ArrayList toArray(T a) method. As returned new array object reference is not set back with ArrayList constructor it will never being taken care. In this case as the passed elementData (ArrayList store data with this variable) will not initialized and thus have null entries.
This defect will be fixed in: 5.0.0 SR13 JVM is being modifed to set ArrayList constructor with return value of Collection.toArray(T a) method. So that it would reference a new array object being instantiated in between.
Reported component name
JAVA 5 CLASS LI
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 5 CLASS LI
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.