src/share/classes/sun/nio/ch/SelectorImpl.java

Print this page

        

@@ -34,11 +34,11 @@
 
 /**
  * Base Selector implementation class.
  */
 
-abstract class SelectorImpl
+public abstract class SelectorImpl
     extends AbstractSelector
 {
 
     // The set of keys with data ready for an operation
     protected Set<SelectionKey> selectedKeys;

@@ -116,11 +116,11 @@
         }
     }
 
     protected abstract void implClose() throws IOException;
 
-    void putEventOps(SelectionKeyImpl sk, int ops) { }
+    public void putEventOps(SelectionKeyImpl sk, int ops) { }
 
     protected final SelectionKey register(AbstractSelectableChannel ch,
                                           int ops,
                                           Object attachment)
     {