[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xerces-cvs
Subject:    svn commit: r1176913 -
From:       mrglavas () apache ! org
Date:       2011-09-28 15:16:44
Message-ID: 20110928151644.B7D95238890A () eris ! apache ! org
[Download RAW message or body]

Author: mrglavas
Date: Wed Sep 28 15:16:44 2011
New Revision: 1176913

URL: http://svn.apache.org/viewvc?rev=1176913&view=rev
Log:
Static 'staticCatalog' field should be volatile.

Modified:
    xml/commons/trunk/java/src/org/apache/xml/resolver/CatalogManager.java

Modified: xml/commons/trunk/java/src/org/apache/xml/resolver/CatalogManager.java
URL: http://svn.apache.org/viewvc/xml/commons/trunk/java/src/org/apache/xml/resolver/CatalogManager.java?rev=1176913&r1=1176912&r2=1176913&view=diff
 ==============================================================================
--- xml/commons/trunk/java/src/org/apache/xml/resolver/CatalogManager.java (original)
+++ xml/commons/trunk/java/src/org/apache/xml/resolver/CatalogManager.java Wed Sep 28 \
15:16:44 2011 @@ -175,7 +175,7 @@ public class CatalogManager {
   private Boolean useStaticCatalog = null;
 
   /** The static catalog used by this manager. */
-  private static Catalog staticCatalog = null;
+  private static volatile Catalog staticCatalog = null;
 
   /** Default setting of the oasisXMLCatalogPI flag. */
   private boolean defaultOasisXMLCatalogPI = true;



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic