* See Bug 280129: WLS JMS CacheCoordination fails if enum changed with ClassNotFoundException.
*/
public UnitOfWorkChangeSet(byte[] bytes, AbstractSession session) throws java.io.IOException, ClassNotFoundException {
java.io.ByteArrayInputStream byteIn = new java.io.ByteArrayInputStream(bytes);
ObjectInputStream objectIn;
objectIn = new CustomObjectInputStream(byteIn, session);
// bug 4416412: allChangeSets set directly instead of using setInternalAllChangeSets
allChangeSets = (Map)objectIn.readObject();
deletedObjects = (Map)objectIn.readObject();
}