EventQueue.java (pop): Prevent breaking the chain if pop is called for an intermediate queue.

* java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
        is called for an intermediate queue.

From-SVN: r75998
This commit is contained in:
Fernando Nasser 2004-01-16 22:26:49 +00:00 committed by Fernando Nasser
parent eae433e995
commit da1c22e144
2 changed files with 8 additions and 1 deletions

View file

@ -352,7 +352,9 @@ public class EventQueue
// occur.
synchronized (prev)
{
prev.next = null;
prev.next = next;
if (next != null)
next.prev = prev;
}
synchronized (this)