[ 
https://jira.terracotta.org/jira//browse/CDV-907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Scott Bale resolved CDV-907.
----------------------------

        Fix Version/s: trunk-nightly
                       2.7.0-stable1
    Fixed In Revision: 10142
           Resolution: Fixed

fixed in trunk (10114, 10118, 10142) and 2.7 branch (10155)

> HashMap Serialization can have unresolved references
> ----------------------------------------------------
>
>                 Key: CDV-907
>                 URL: https://jira.terracotta.org/jira//browse/CDV-907
>             Project: Community Development
>          Issue Type: Bug
>    Affects Versions: 2.7.0-stable1
>            Reporter: Scott Bale
>            Assignee: Scott Bale
>             Fix For: trunk-nightly, 2.7.0-stable1
>
>
> Similarly to CDV-244, we've found that HashMap (prior to JDK 1.6) 
> serialization defeats TC instrumentation, which can lead to a serialized 
> HashMap with unresolved references.
> More specifically, the serialized HashMap can contain Terracotta ObjectID's 
> rather than the expected values, leading to a ClassCastException.  This is 
> because the writeObject() method of HashMap (prior to JDK 1.6) calls private 
> method entrySet0(), which we do not instrument, rather than public method 
> entrySet(), which we do instrument.
> We already have this bug reproduced in a system test and I am working on it.
> (Tim found that this was apparently a bug that was fixed in JDK 1.6 - see 
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6280967 )

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://jira.terracotta.org/jira//secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
tc-dev mailing list
tc-dev@lists.terracotta.org
http://lists.terracotta.org/mailman/listinfo/tc-dev

Reply via email to