APAR status
Closed as program error.
Error description
Error Message: The failing scenario is as follows: 1) Create a LinkedHashmap containing 10 instances of a particular value 2) use the values() method to retrieve a 'Collection' of the values in the table 3) use the entrySet() method to retrieve a 'Set' of the entries in the table 4) Remove one of the entries from the entrySet 5) Get an iterator over the values 'Collection' and check that it now contains only 9 instances of the value. Step 5 fails with the symptom that it now contains 10 instances of the value. . Stack Trace: N/A .
Local fix
Problem summary
The problem is caused when an entry is removed from the entrySet of a LinkedHashMap.
Problem conclusion
This defect will be fixed in: 6.0.0 SR11 6.0.1 SR4 7.0.0 SR3 . The HashMapEntrySet has been updated to use remove instead of removeEntry when an entry is removed from the entrySet of a LinkedHashMap.
Temporary fix
Comments
APAR Information
APAR number
IV25851
Reported component name
JAVA CLASS LIBS
Reported component ID
620700130
Reported release
600
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2012-08-07
Closed date
2012-08-07
Last modified date
2012-08-07
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
JAVA CLASS LIBS
Fixed component ID
620700130
Applicable component levels
R600 PSY
UP
R700 PSY
UP
[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCVQ3Y","label":"Java Class Libraries"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
07 August 2012