From: Michael Koch Date: Tue, 9 Dec 2003 15:34:07 +0000 (+0000) Subject: 2003-12-09 Michael Koch X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=25a23f3b2682634eb52eacf8842924ec84bbdcf9;p=gcc.git 2003-12-09 Michael Koch * gnu/java/nio/SelectorImpl.java (implSelect): Throws IOException. (select): Likewise. From-SVN: r74468 --- diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 2b1d473805f..ca99ae1cdbf 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,9 @@ +2003-12-09 Michael Koch + + * gnu/java/nio/SelectorImpl.java + (implSelect): Throws IOException. + (select): Likewise. + 2003-12-08 Kim Ho Fix for Checkbox states. diff --git a/libjava/gnu/java/nio/SelectorImpl.java b/libjava/gnu/java/nio/SelectorImpl.java index 05a537afb5e..180c7eeb857 100644 --- a/libjava/gnu/java/nio/SelectorImpl.java +++ b/libjava/gnu/java/nio/SelectorImpl.java @@ -104,7 +104,8 @@ public class SelectorImpl extends AbstractSelector // A timeout value of -1 means block forever. private static native int implSelect (int[] read, int[] write, - int[] except, long timeout); + int[] except, long timeout) + throws IOException; private final int[] getFDsAsArray (int ops) { @@ -144,6 +145,7 @@ public class SelectorImpl extends AbstractSelector } public int select (long timeout) + throws IOException { if (!isOpen()) throw new ClosedSelectorException ();