Selector doesn't implement Closeable

Christopher Hegarty - Sun Microsystems Ireland Christopher.Hegarty at Sun.COM
Mon Dec 7 03:05:11 PST 2009


The change looks fine. Thanks Alan,

-Chris.

On 06/12/2009 17:47, Alan Bateman wrote:
> 
> I didn't hear back from Rémi on this but I might as well push this into 
> b78 and be done with it. Could I get a reviewer?
> 
> Thanks,
> Alan.
> 
> Alan Bateman wrote:
>> :
>>
>> diff -r d5a1c012921d src/share/classes/java/nio/channels/Selector.java
>> --- a/src/share/classes/java/nio/channels/Selector.java Sun Nov 29 
>> 15:24:32 2009 -0800
>> +++ b/src/share/classes/java/nio/channels/Selector.java Thu Dec 03 
>> 19:29:04 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 @@ import java.util.Set;
>>  * @see SelectionKey
>>  */
>>
>> -public abstract class Selector {
>> +public abstract class Selector implements Closeable {
>>
>>     /**
>>      * Initializes a new instance of this class.
> 


More information about the nio-dev mailing list