RFR: JDK-8050397 - Null Pointer Exception in EventQueue.java

Jen Dority jen.dority at oracle.com
Mon Jul 21 21:32:56 UTC 2014


Thanks, Bob & Riaz.

Jen

On 7/21/2014 5:15 PM, Bob Vandette wrote:
> Looks fine.
>
> Bob.
>
> On Jul 21, 2014, at 5:08 PM, Jen Dority <jen.dority at oracle.com> wrote:
>
>> Adding appropriate subject . . .
>> On 7/21/2014 5:07 PM, Jen Dority wrote:
>>> issue: https://bugs.openjdk.java.net/browse/JDK-8050397
>>> webrev: http://cr.openjdk.java.net/~jld/8050397/
>>>
>>> Hi All,
>>>
>>> Need a webrev for a crash fix. We were getting a NullPointerException anytime there was more than one event in the queue.
>>>
>>> The event data was always being written into the beginning of the queue, instead of the appropriate position. As a result there was never any data when going to read the second event off the queue. The fix was to advance the buffer position bbefore writing the event data.
>>>
>>> Thanks,
>>> Jen
>>>



More information about the dio-dev mailing list