From 2e54a860a87df869e81c3d3a31daaa0d9d3c7751 Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Fri, 9 Jul 2004 13:56:08 +0000 Subject: [PATCH] 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 --- libjava/ChangeLog | 5 +++++ libjava/gnu/java/nio/SelectorImpl.java | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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; } -- 2.30.2