tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 54513] NullPointerException in AprEndpoint$
Date Sat, 02 Feb 2013 19:22:59 GMT

--- Comment #10 from Mladen Turk <> ---
Not sure what you mean by double increment. Is it?

        p->set[n++]   = (jlong)(fd->rtnevents);
        p->set[n++]   = P2J(fd->client_data);

That should be fine.
The returned array consist of pair of values odd being event and even being the
socket. It was always like that.

But you are right, there is a bug. Returned number should be n/2 not n.
I'll fix that.
If you create a shortcut in Java which calls .pollset(...)
and divide by two in case the value is > 0 doesn't that help?
Anyhow, I'll fix the native and create test 1.1.27-dev binaries for further

You are receiving this mail because:
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message