On 18/03/2009, Asankha C. Perera <[email protected]> wrote:
>
>
> > SSLIOSession has:
> >
> > SSLIOSession implements IOSession ...
> >
> >    private final IOSession session;
> > ...
> >    public Object getAttribute(final String name) {
> >        return this.session.getAttribute(name);
> >    }
> >
> > So if session is actually an SSLIOSession - rather than IOSessionImpl
> > - it looks this will result in a recursive call.
> >
> > Similarly for set().
> >
> > Or have I missed something (again?!)
> >
> >
>  AFAIK the 'session' variable field in SSLIOSession always will hold an
> instance of IOSessionImpl ..

Yes, but it could hold an instance of SSLIOS and then S.O.S.!

>  cheers
>  asankha
>
>
>
>
>
> ---------------------------------------------------------------------
>  To unsubscribe, e-mail: [email protected]
>  For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to