Author: mrglavas
Date: Wed Mar 17 13:57:41 2010
New Revision: 924299

URL: http://svn.apache.org/viewvc?rev=924299&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/branches/xml-schema-1.1-dev/src/org/apache/xerces/util/SoftReferenceSymbolTable.java

Modified: 
xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/util/SoftReferenceSymbolTable.java
URL: 
http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/util/SoftReferenceSymbolTable.java?rev=924299&r1=924298&r2=924299&view=diff
==============================================================================
--- 
xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/util/SoftReferenceSymbolTable.java
 (original)
+++ 
xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/util/SoftReferenceSymbolTable.java
 Wed Mar 17 13:57:41 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