--- 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.