mirror of git://gcc.gnu.org/git/gcc.git
2003-12-09 Michael Koch <konqueror@gmx.de>
* gnu/java/nio/SelectorImpl.java (implSelect): Throws IOException. (select): Likewise. From-SVN: r74468
This commit is contained in:
parent
fa30fe72d1
commit
25a23f3b26
|
|
@ -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>
|
2003-12-08 Kim Ho <kho@redhat.com>
|
||||||
|
|
||||||
Fix for Checkbox states.
|
Fix for Checkbox states.
|
||||||
|
|
|
||||||
|
|
@ -104,7 +104,8 @@ public class SelectorImpl extends AbstractSelector
|
||||||
|
|
||||||
// A timeout value of -1 means block forever.
|
// A timeout value of -1 means block forever.
|
||||||
private static native int implSelect (int[] read, int[] write,
|
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)
|
private final int[] getFDsAsArray (int ops)
|
||||||
{
|
{
|
||||||
|
|
@ -144,6 +145,7 @@ public class SelectorImpl extends AbstractSelector
|
||||||
}
|
}
|
||||||
|
|
||||||
public int select (long timeout)
|
public int select (long timeout)
|
||||||
|
throws IOException
|
||||||
{
|
{
|
||||||
if (!isOpen())
|
if (!isOpen())
|
||||||
throw new ClosedSelectorException ();
|
throw new ClosedSelectorException ();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue