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

@ -1,3 +1,8 @@
2004-01-16 Fernando Nasser <fnasser@redhat.com>
* java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
is called for an intermediate queue.
2004-01-16 Thomas Fitzsimmons <fitzsim@redhat.com>
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c

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)