maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From krosenv...@apache.org
Subject svn commit: r936076 - /maven/shared/trunk/maven-verifier/src/main/java/org/apache/maven/it/util/cli/StreamPumper.java
Date Tue, 20 Apr 2010 21:58:37 GMT
Author: krosenvold
Date: Tue Apr 20 21:58:36 2010
New Revision: 936076

URL: http://svn.apache.org/viewvc?rev=936076&view=rev
Log:
o Removed deadlock-prone synchronization

Modified:
    maven/shared/trunk/maven-verifier/src/main/java/org/apache/maven/it/util/cli/StreamPumper.java

Modified: maven/shared/trunk/maven-verifier/src/main/java/org/apache/maven/it/util/cli/StreamPumper.java
URL: http://svn.apache.org/viewvc/maven/shared/trunk/maven-verifier/src/main/java/org/apache/maven/it/util/cli/StreamPumper.java?rev=936076&r1=936075&r2=936076&view=diff
==============================================================================
--- maven/shared/trunk/maven-verifier/src/main/java/org/apache/maven/it/util/cli/StreamPumper.java
(original)
+++ maven/shared/trunk/maven-verifier/src/main/java/org/apache/maven/it/util/cli/StreamPumper.java
Tue Apr 20 21:58:36 2010
@@ -160,10 +160,11 @@ public class StreamPumper
         {
             IOUtil.close( in );
 
-            done = true;
 
             synchronized ( this )
             {
+                done = true;
+
                 this.notifyAll();
             }
         }



Mime
View raw message