tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1140910 - /tomcat/trunk/java/org/apache/catalina/tribes/transport/RxTaskPool.java
Date Tue, 28 Jun 2011 23:45:52 GMT
Author: markt
Date: Tue Jun 28 23:45:52 2011
New Revision: 1140910

URL: http://svn.apache.org/viewvc?rev=1140910&view=rev
Log:
Fix what was originally a typo
Similar to https://issues.apache.org/bugzilla/show_bug.cgi?id=50648

Modified:
    tomcat/trunk/java/org/apache/catalina/tribes/transport/RxTaskPool.java

Modified: tomcat/trunk/java/org/apache/catalina/tribes/transport/RxTaskPool.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/tribes/transport/RxTaskPool.java?rev=1140910&r1=1140909&r2=1140910&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/tribes/transport/RxTaskPool.java (original)
+++ tomcat/trunk/java/org/apache/catalina/tribes/transport/RxTaskPool.java Tue Jun 28 23:45:52
2011
@@ -81,7 +81,11 @@ public class RxTaskPool
                     worker = creator.createRxTask();
                     configureTask(worker);
                 } else {
-                    try { mutex.wait(); } catch ( java.lang.InterruptedException x ) {Thread.interrupted();}
+                    try {
+                        mutex.wait();
+                    } catch (java.lang.InterruptedException x) {
+                        Thread.currentThread().interrupt();
+                    }
                 }
             }//while
             if ( worker != null ) used.add(worker);



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


Mime
View raw message