P
Patricia Shanahan
Twisted said:Since the queue isn't being rendered unusable and the console isn't
being spammed with dozens in a row, it seems that some object is
actually removed -- the null. If the null remained in the queue for any
length of time, then yes there's be more than a minor nuisance.
Fortunately that does not seem to be happening.
Did I mention that I never saw NPEs here before updating to 1.6.0?
That is consistent with either of two theories:
1. A bug in the 1.6 implementation of PriorityQueue that does not exist
in the 1.5 version.
2. A bug in your code that does not produce any obvious errors in the
pre-1.6 version of the code.
For example, a compareTo change while an object is on the queue would be
much more likely to produce an NPE with the 1.6 implementation of
PriorityQueue than the 1.5 implementation.
Patricia