2003-12-09 Michael Koch <konqueror@gmx.de>
authorMichael Koch <konqueror@gmx.de>
Tue, 9 Dec 2003 15:34:07 +0000 (15:34 +0000)
committerMichael Koch <mkoch@gcc.gnu.org>
Tue, 9 Dec 2003 15:34:07 +0000 (15:34 +0000)
* gnu/java/nio/SelectorImpl.java
(implSelect): Throws IOException.
(select): Likewise.

From-SVN: r74468

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

index 2b1d473805f3ded4b0d1aee759914f2ae6bf6600..ca99ae1cdbffad60bab9e089c3aea535faf44232 100644 (file)
@@ -1,3 +1,9 @@
+2003-12-09  Michael Koch  <konqueror@gmx.de>
+
+       * gnu/java/nio/SelectorImpl.java
+       (implSelect): Throws IOException.
+       (select): Likewise.
+
 2003-12-08  Kim Ho  <kho@redhat.com>
 
        Fix for Checkbox states.
index 05a537afb5e3fd4dd4bd59d8f06c3ec09e9aefd1..180c7eeb85758b10bf07a7abf368837e4ec91f02 100644 (file)
@@ -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 ();