cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1362262 - /cxf/trunk/api/src/main/java/org/apache/cxf/BusFactory.java
Date Mon, 16 Jul 2012 21:15:55 GMT
Author: dkulp
Date: Mon Jul 16 21:15:54 2012
New Revision: 1362262

URL: http://svn.apache.org/viewvc?rev=1362262&view=rev
Log:
stale flag needs to be volatile

Modified:
    cxf/trunk/api/src/main/java/org/apache/cxf/BusFactory.java

Modified: cxf/trunk/api/src/main/java/org/apache/cxf/BusFactory.java
URL: http://svn.apache.org/viewvc/cxf/trunk/api/src/main/java/org/apache/cxf/BusFactory.java?rev=1362262&r1=1362261&r2=1362262&view=diff
==============================================================================
--- cxf/trunk/api/src/main/java/org/apache/cxf/BusFactory.java (original)
+++ cxf/trunk/api/src/main/java/org/apache/cxf/BusFactory.java Mon Jul 16 21:15:54 2012
@@ -70,7 +70,7 @@ public abstract class BusFactory {
     
     static class BusHolder {
         Bus bus;
-        boolean stale;
+        volatile boolean stale;
     }
     
     protected static Map<Thread, BusHolder> threadBusses = new WeakHashMap<Thread,
BusHolder>();



Mime
View raw message