Sorry, forgot to mention I'm using version 1.9.15b. This will also match
the line number below. But it seems the same problem exists on trunk.
Sebastian Dehne wrote:
> Hi guys,
>
> I'm trying to run grizzly on a non-Sun JVM and run into a problem which
> is caused by registering 0 as an channel operation. The problem is
> triggered at TCPSelectorHandler line 462 where 0 is applied as an
> argument to register().
>
> SocketChannel.validOps() returns which operations are valid and 0 is not
> one of them.
>
> I'm using a patch where I just use SelectionKey.OP_WRITE instead of 0,
> which works fine for me and also passes all unit tests.
>
> Any suggestions?
>
>
> Thanks
> Sebastian
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>