This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix to EventQueue 3/7 [REPOST]


Oops! Here is the correct patch.
Index: java/awt/EventQueue.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/awt/EventQueue.java,v
retrieving revision 1.13
diff -u -p -r1.13 EventQueue.java
--- java/awt/EventQueue.java	16 Jan 2004 16:15:49 -0000	1.13
+++ java/awt/EventQueue.java	16 Jan 2004 16:17:14 -0000
@@ -352,7 +352,9 @@ public class EventQueue
     // occur.
     synchronized (prev)
       {
-        prev.next = null;
+        prev.next = next;
+        if (next != null)
+          next.prev = prev;
       }
 
     synchronized (this)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]