jdk/src/share/classes/java/nio/channels/Selector.java
changeset 4351 c6b75a422eb8
parent 2 90ce3da70b43
child 5506 202f599c92aa
--- a/jdk/src/share/classes/java/nio/channels/Selector.java	Mon Dec 07 15:29:44 2009 +0800
+++ b/jdk/src/share/classes/java/nio/channels/Selector.java	Mon Dec 07 12:24:57 2009 +0000
@@ -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 @@
  * @see SelectionKey
  */
 
-public abstract class Selector {
+public abstract class Selector implements Closeable {
 
     /**
      * Initializes a new instance of this class.