• Bug
  • Status: Closed
  • Resolution: Fixed
  • drb
  • Reporter: sourceforgetracker
  • September 21, 2009
  • 0
  • Watchers: 0
  • September 22, 2009
  • September 22, 2009

Description

When you start up Ehcache 1.6.1 and it tries to read in the DiskStore files from 1.6, it fails with a ClassCastException because the new code expects to be deserializing a ConcurrentHashMap, but the old code serialized a Collections$SynchronizedMap. My simple fix was to have the code deal properly with either type of Map - populating a new ConcurrentHashMap with the contents of the old Map if necessary. Sourceforge Ticket ID: 2840648 - Opened By: mpassell - 19 Aug 2009 22:33 UTC

Comments

Sourceforge Tracker 2009-09-21

The attached patch file is relative to svn revision 1011. Comment by: mpassell - 19 Aug 2009 22:35 UTC

Fiona OShea 2009-09-22

Re-opening so that I can properly close out these issues and have correct Resolution status in Jira