commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nia...@apache.org
Subject svn commit: r412150 - in /jakarta/commons/proper/chain/trunk: src/java/org/apache/commons/chain/impl/ContextBase.java xdocs/changes.xml
Date Tue, 06 Jun 2006 15:31:51 GMT
Author: niallp
Date: Tue Jun  6 08:31:50 2006
New Revision: 412150

URL: http://svn.apache.org/viewvc?rev=412150&view=rev
Log:
Further fix for CHAIN-12 - Using JDK 1.4.2_10 ContextBase can be serialized, but JDK 1.4.2_11
(and 1.3.1_04) fail trying to serialize - thanks to Dennis Lundberg for spotting this.

Modified:
    jakarta/commons/proper/chain/trunk/src/java/org/apache/commons/chain/impl/ContextBase.java
    jakarta/commons/proper/chain/trunk/xdocs/changes.xml

Modified: jakarta/commons/proper/chain/trunk/src/java/org/apache/commons/chain/impl/ContextBase.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/chain/trunk/src/java/org/apache/commons/chain/impl/ContextBase.java?rev=412150&r1=412149&r2=412150&view=diff
==============================================================================
--- jakarta/commons/proper/chain/trunk/src/java/org/apache/commons/chain/impl/ContextBase.java
(original)
+++ jakarta/commons/proper/chain/trunk/src/java/org/apache/commons/chain/impl/ContextBase.java
Tue Jun  6 08:31:50 2006
@@ -27,6 +27,7 @@
 import java.util.Iterator;
 import java.util.Map;
 import java.util.Set;
+import java.io.Serializable;
 import org.apache.commons.chain.Context;
 
 
@@ -120,7 +121,7 @@
 
     static {
 
-        singleton = new Object() {
+        singleton = new Serializable() {
                 public boolean equals(Object object) {
                     return (false);
                 }

Modified: jakarta/commons/proper/chain/trunk/xdocs/changes.xml
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/chain/trunk/xdocs/changes.xml?rev=412150&r1=412149&r2=412150&view=diff
==============================================================================
--- jakarta/commons/proper/chain/trunk/xdocs/changes.xml (original)
+++ jakarta/commons/proper/chain/trunk/xdocs/changes.xml Tue Jun  6 08:31:50 2006
@@ -75,7 +75,9 @@
          <a href="http://svn.apache.org/viewvc?view=rev&amp;revision=178563">r
178563</a>
          Decouple CatalogFactory lookup from LookupAction.
       </action>
-      <action dev="craigmcc" type="fix" issue="CHAIN-12" due-to="Jeff Ramsdale">
+      <action dev="craigmcc" type="fix" issue="CHAIN-12">
+        <dueto name="Jeff Ramsdale"/>
+        <dueto name="Dennis Lundberg"/>
          <a href="http://svn.apache.org/viewvc?view=rev&amp;revision=161600">r
161600</a>
          Make ContextBase live up to the Serializable contract that it inherits by virtue
of extending HashMap.
       </action>



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message