OSDN Git Service

2003-12-09 Michael Koch <konqueror@gmx.de>
authormkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Dec 2003 15:34:07 +0000 (15:34 +0000)
committermkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Dec 2003 15:34:07 +0000 (15:34 +0000)
* gnu/java/nio/SelectorImpl.java
(implSelect): Throws IOException.
(select): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74468 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 2b1d473..ca99ae1 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 05a537a..180c7ee 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 ();