6903753: (se) Selector should implement Closeable
Reviewed-by: chegar, forax
This commit is contained in:
parent
45eee34489
commit
76e3aaa436
@ -25,6 +25,7 @@
|
||||
|
||||
package java.nio.channels;
|
||||
|
||||
import java.io.Closeable;
|
||||
import java.io.IOException;
|
||||
import java.nio.channels.spi.SelectorProvider;
|
||||
import java.util.Set;
|
||||
@ -202,7 +203,7 @@ import java.util.Set;
|
||||
* @see SelectionKey
|
||||
*/
|
||||
|
||||
public abstract class Selector {
|
||||
public abstract class Selector implements Closeable {
|
||||
|
||||
/**
|
||||
* Initializes a new instance of this class.
|
||||
|
Loading…
Reference in New Issue
Block a user