From: Mark Wielaard Date: Fri, 9 Jul 2004 13:56:08 +0000 (+0000) Subject: SelectorImpl.java (select): Call static Thread interrupted() method to clear interupt... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2e54a860a87df869e81c3d3a31daaa0d9d3c7751;p=gcc.git SelectorImpl.java (select): Call static Thread interrupted() method to clear interupt flag of our Thread. 2004-07-09 Mark Wielaard * gnu/java/nio/SelectorImpl.java (select): Call static Thread interrupted() method to clear interupt flag of our Thread. From-SVN: r84367 --- diff --git a/libjava/ChangeLog b/libjava/ChangeLog index ea7ba416559..219b74fc54a 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,8 @@ +2004-07-09 Mark Wielaard + + * gnu/java/nio/SelectorImpl.java (select): Call static Thread + interrupted() method to clear interupt flag of our Thread. + 2004-07-09 Dalibor Topic * java/nio/Buffer.java, diff --git a/libjava/gnu/java/nio/SelectorImpl.java b/libjava/gnu/java/nio/SelectorImpl.java index f26e0808074..239a5f8efa9 100644 --- a/libjava/gnu/java/nio/SelectorImpl.java +++ b/libjava/gnu/java/nio/SelectorImpl.java @@ -261,7 +261,7 @@ public class SelectorImpl extends AbstractSelector if (unhandledWakeup) { unhandledWakeup = false; - selectThread.interrupted (); + Thread.interrupted (); } selectThread = null; }