Author: manik.surtani(a)jboss.com
Date: 2008-02-05 20:48:37 -0500 (Tue, 05 Feb 2008)
New Revision: 5307
Modified:
core/trunk/src/main/java/org/jboss/cache/marshall/CacheMarshaller200.java
Log:
Missed a useRefs condition
Modified: core/trunk/src/main/java/org/jboss/cache/marshall/CacheMarshaller200.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/marshall/CacheMarshaller200.java 2008-02-06
01:19:52 UTC (rev 5306)
+++ core/trunk/src/main/java/org/jboss/cache/marshall/CacheMarshaller200.java 2008-02-06
01:48:37 UTC (rev 5307)
@@ -133,7 +133,7 @@
}
else
{
- UnmarshalledReferences refMap = new UnmarshalledReferences();
+ UnmarshalledReferences refMap = useRefs ? new UnmarshalledReferences() : null;
Object retValue = unmarshallObject(in, defaultClassLoader, refMap);
if (trace) log.trace("Unmarshalled object " + retValue);
return retValue;
Show replies by date