Author: mrglavas
Date: Wed Mar 17 13:57:20 2010
New Revision: 924298

URL: http://svn.apache.org/viewvc?rev=924298&view=rev
Log:
Fixing JIRA Issue #1423: http://issues.apache.org/jira/browse/XERCESJ-1423. On 
rehash() we need to clear the "prev" pointer when we add an entry at the head 
of a bucket. Our failure to do this could lead to an infinite loop later. Patch 
thanks to Anli Shundi ([email protected]).

Modified:
    xerces/java/trunk/src/org/apache/xerces/util/SoftReferenceSymbolTable.java

Modified: 
xerces/java/trunk/src/org/apache/xerces/util/SoftReferenceSymbolTable.java
URL: 
http://svn.apache.org/viewvc/xerces/java/trunk/src/org/apache/xerces/util/SoftReferenceSymbolTable.java?rev=924298&r1=924297&r2=924298&view=diff
==============================================================================
--- xerces/java/trunk/src/org/apache/xerces/util/SoftReferenceSymbolTable.java 
(original)
+++ xerces/java/trunk/src/org/apache/xerces/util/SoftReferenceSymbolTable.java 
Wed Mar 17 13:57:20 2010
@@ -223,6 +223,7 @@ public class SoftReferenceSymbolTable ex
                         newTable[index].prev = e;
                     }
                     e.next = newTable[index];
+                    e.prev = null;
                     newTable[index] = e;
                 }
                 else {



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to