7023403: (ch) sun.nio.ch.SolarisEventPort.startPoll failed with AssertionError
Alan.Bateman at oracle.com
Fri Mar 4 11:32:34 PST 2011
Rémi Forax wrote:
> In my opinion, it's more readable to do an instanceof
> Even if AsynchronousCloseException inherits from ClosedChannelException.
Okay, either will work here.
> Also, it can be more efficient to do the instanceof check in
That would mean that lockAndUpdateEvents would need to know about the
exception, whereas I think it's a bit more understandable now.
More information about the nio-dev