![]() |
|
|
|
|
Issue Type:
|
Bug
|
|
Affects Versions:
|
1.4.4 |
|
Assignee:
|
Jörg Schaible
|
|
Components:
|
Core |
|
Created:
|
19/Jun/13 7:34 AM
|
|
Description:
|
When using Xstream 1.4.4 on AIX 7.1 using the IBM 32-bit SDK for AIX, Version 6 we get the following exception:
java.lang.ArrayIndexOutOfBoundsException: Array index out of range: -1
at com.thoughtworks.xstream.core.util.OrderRetainingMap.entrySet(OrderRetainingMap.java:77)
at java.util.HashMap.putAllImpl(HashMap.java:678)
at java.util.HashMap.putAll(HashMap.java:669)
at com.thoughtworks.xstream.core.util.OrderRetainingMap.<init>(OrderRetainingMap.java:36)
This doesn't happen on previous versions of Xstream.
The problem seems to stem from a change in OrderRetainingMap.
One of the constructors changed, and the change reflects a specific internal behavior in HashMap implementation that is not consistent across JRE implementations.
OrderRetainingMap calls putAll and assumes that putAll will call put.
|
|
Project:
|
XStream
|
|
Priority:
|
Major
|
|
Reporter:
|
Uri Shtand
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email