harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Ellison <t.p.elli...@gmail.com>
Subject Re: [general] M8 code freeze now in effect
Date Tue, 04 Nov 2008 17:03:50 GMT
Sian January wrote:
> Sorry not to reply on the other thread a bit earlier, but isn't this
> part of the spec?
> http://java.sun.com/j2se/1.4.2/docs/api/java/nio/channels/SelectableChannel.html#register(java.nio.channels.Selector,
> int, java.lang.Object) says that register "throws
> IllegalSelectorException - If this channel was not created by the same
> provider as the given selector"

They are both coming from the same provider (Harmony's in-built provider).

> I wasn't 100% clear from the other thread - is it that the RI doesn't
> follow the spec, or were we throwing the exception in the wrong case?

The spec doesn't preclude setting a selector that has an empty interest
set.  It's unusual but shouldn't really be forbidden, so I think the
patch should be good to go in.  I'm just looking for an OK now that we
are in code freeze.


View raw message