commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject svn commit: r378757 - /jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/BaseObjectPool.java
Date Sat, 18 Feb 2006 18:49:05 GMT
Author: rdonkin
Date: Sat Feb 18 10:49:03 2006
New Revision: 378757

URL: http://svn.apache.org/viewcvs?rev=378757&view=rev
Log:
Field closed now volatile to ensure that changes to this value are seen in a timely manner.
Contributed by Sandy McArthur. Issue #38690.

Modified:
    jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/BaseObjectPool.java

Modified: jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/BaseObjectPool.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/BaseObjectPool.java?rev=378757&r1=378756&r2=378757&view=diff
==============================================================================
--- jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/BaseObjectPool.java
(original)
+++ jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/BaseObjectPool.java
Sat Feb 18 10:49:03 2006
@@ -79,5 +79,5 @@
         }
     }
     
-    private boolean closed = false;
+    private volatile boolean closed = false;
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message