Author: dkulp
Date: Mon Jul 16 21:17:37 2012
New Revision: 1362265
URL: http://svn.apache.org/viewvc?rev=1362265&view=rev
Log:
Merged revisions 1362262 via git cherry-pick from
https://svn.apache.org/repos/asf/cxf/trunk
........
r1362262 | dkulp | 2012-07-16 17:15:54 -0400 (Mon, 16 Jul 2012) | 2 lines
stale flag needs to be volatile
........
Modified:
cxf/branches/2.6.x-fixes/api/src/main/java/org/apache/cxf/BusFactory.java
Modified:
cxf/branches/2.6.x-fixes/api/src/main/java/org/apache/cxf/BusFactory.java
URL:
http://svn.apache.org/viewvc/cxf/branches/2.6.x-fixes/api/src/main/java/org/apache/cxf/BusFactory.java?rev=1362265&r1=1362264&r2=1362265&view=diff
==============================================================================
--- cxf/branches/2.6.x-fixes/api/src/main/java/org/apache/cxf/BusFactory.java
(original)
+++ cxf/branches/2.6.x-fixes/api/src/main/java/org/apache/cxf/BusFactory.java
Mon Jul 16 21:17:37 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>();