users@grizzly.java.net

Re: [bug] No controller assigned to the connectorHandler

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Thu, 06 Mar 2008 10:36:36 -0500

Simon Trudeau wrote:
> When we obtain a connector from a selectorHandler, no controller is
> assigned to the connector.
>
> connectorHandler = selectorHandler.acquireConnectorHandler();
>
> connectorHandler.getController() will return null.
>
>
> I think this is bug (a small one) and
> selectorHandler.acquireConnectorHandler() should also set the
> connectorHandler's controller.
>
> As a work around one needs to do:
>
> connectorHandler = selectorHandler.acquireConnectorHandler();
> connectorHandler.setController(myController);

Agree this is a bug!

>
>
>
>
>
> By the way, what is the right channel for users to report bugs?

https://grizzly.dev.java.net/servlets/ProjectIssues

Thanks!

-- Jeanfrancois

>
>
>
> Simon
>
>
>