jakarta-jcs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From asm...@apache.org
Subject svn commit: r887227 - /jakarta/jcs/trunk/src/java/org/apache/jcs/utils/access/JCSWorker.java
Date Fri, 04 Dec 2009 15:30:25 GMT
Author: asmuts
Date: Fri Dec  4 15:30:24 2009
New Revision: 887227

URL: http://svn.apache.org/viewvc?rev=887227&view=rev
Log:
Fixing JCS-69 - https://issues.apache.org/jira/browse/JCS-69

Modified:
    jakarta/jcs/trunk/src/java/org/apache/jcs/utils/access/JCSWorker.java

Modified: jakarta/jcs/trunk/src/java/org/apache/jcs/utils/access/JCSWorker.java
URL: http://svn.apache.org/viewvc/jakarta/jcs/trunk/src/java/org/apache/jcs/utils/access/JCSWorker.java?rev=887227&r1=887226&r2=887227&view=diff
==============================================================================
--- jakarta/jcs/trunk/src/java/org/apache/jcs/utils/access/JCSWorker.java (original)
+++ jakarta/jcs/trunk/src/java/org/apache/jcs/utils/access/JCSWorker.java Fri Dec  4 15:30:24
2009
@@ -287,11 +287,11 @@
                 {
                     map.remove( getRegion() + aKey );
                 }
-                synchronized ( this )
+                synchronized ( aHelper )
                 {
                     aHelper.setFinished( true );
                     // Wake everyone waiting on us
-                    notifyAll();
+                    aHelper.notifyAll();
                 }
             }
         }



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


Mime
View raw message