SelectorImpl.java (select): Call static Thread interrupted() method to clear interupt...
authorMark Wielaard <mark@klomp.org>
Fri, 9 Jul 2004 13:56:08 +0000 (13:56 +0000)
committerMichael Koch <mkoch@gcc.gnu.org>
Fri, 9 Jul 2004 13:56:08 +0000 (13:56 +0000)
2004-07-09  Mark Wielaard  <mark@klomp.org>

* gnu/java/nio/SelectorImpl.java (select): Call static Thread
interrupted() method to clear interupt flag of our Thread.

From-SVN: r84367

libjava/ChangeLog
libjava/gnu/java/nio/SelectorImpl.java

index ea7ba416559ad1e56e65779bb24ce1791a875f1b..219b74fc54ab6f3a18535163b32dff0e83156168 100644 (file)
@@ -1,3 +1,8 @@
+2004-07-09  Mark Wielaard  <mark@klomp.org>
+
+       * gnu/java/nio/SelectorImpl.java (select): Call static Thread
+       interrupted() method to clear interupt flag of our Thread.
+
 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
 
        * java/nio/Buffer.java,
index f26e0808074f9450002e85776ca6aa947eb2be94..239a5f8efa99296c2a44f0aa2930f5bda7eda922 100644 (file)
@@ -261,7 +261,7 @@ public class SelectorImpl extends AbstractSelector
                 if (unhandledWakeup)
                   {
                     unhandledWakeup = false;
-                    selectThread.interrupted ();
+                    Thread.interrupted ();
                   }
                 selectThread = null;
               }