[jbosscache-commits] JBoss Cache SVN: r6497 - core/trunk/src/main/java/org/jboss/cache/marshall.

jbosscache-commits at lists.jboss.org jbosscache-commits at lists.jboss.org
Mon Aug 4 10:22:30 EDT 2008


Author: manik.surtani at jboss.com
Date: 2008-08-04 10:22:30 -0400 (Mon, 04 Aug 2008)
New Revision: 6497

Modified:
   core/trunk/src/main/java/org/jboss/cache/marshall/AbstractMarshaller.java
Log:
Compat with older marshaller

Modified: core/trunk/src/main/java/org/jboss/cache/marshall/AbstractMarshaller.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/marshall/AbstractMarshaller.java	2008-08-04 14:21:20 UTC (rev 6496)
+++ core/trunk/src/main/java/org/jboss/cache/marshall/AbstractMarshaller.java	2008-08-04 14:22:30 UTC (rev 6497)
@@ -104,7 +104,7 @@
 
    public Object objectFromByteBuffer(byte[] bytes) throws Exception
    {
-      throw new RuntimeException("Needs to be overridden!");
+      return objectFromByteBuffer(bytes, 0, bytes.length);
    }
 
    public Object objectFromByteBuffer(byte[] bytes, int offset, int len) throws Exception




More information about the jbosscache-commits mailing list