[infinispan-commits] Infinispan SVN: r2556 - branches/4.2.x/core/src/main/java/org/infinispan/marshall.

infinispan-commits at lists.jboss.org infinispan-commits at lists.jboss.org
Thu Oct 21 11:32:35 EDT 2010


Author: galder.zamarreno at jboss.com
Date: 2010-10-21 11:32:35 -0400 (Thu, 21 Oct 2010)
New Revision: 2556

Modified:
   branches/4.2.x/core/src/main/java/org/infinispan/marshall/VersionAwareMarshaller.java
Log:
ISPN-666 - MultipleRpcCommand being serialized ignoring the @Marshaller - Log full NotSerializableException stacktrace at debug level.

Modified: branches/4.2.x/core/src/main/java/org/infinispan/marshall/VersionAwareMarshaller.java
===================================================================
--- branches/4.2.x/core/src/main/java/org/infinispan/marshall/VersionAwareMarshaller.java	2010-10-21 15:21:39 UTC (rev 2555)
+++ branches/4.2.x/core/src/main/java/org/infinispan/marshall/VersionAwareMarshaller.java	2010-10-21 15:32:35 UTC (rev 2556)
@@ -92,7 +92,7 @@
       try {
          defaultMarshaller.objectToObjectStream(obj, out);
       } catch (java.io.NotSerializableException nse) {
-         if (log.isTraceEnabled()) log.trace("Object is not serializable", nse);
+         if (log.isDebugEnabled()) log.debug("Object is not serializable", nse);
          throw new org.infinispan.marshall.NotSerializableException(nse.getMessage(), nse.getCause());
       } catch (IOException ioe) {
          if (log.isTraceEnabled()) log.trace("Exception while marshalling object", ioe);



More information about the infinispan-commits mailing list