[kaffe] CVS kaffe (dalibor): Resynced with GNU Classpath: InvocationEvent

Kaffe CVS cvs-commits at kaffe.org
Sun Jul 11 19:48:49 PDT 2004


PatchSet 4938 
Date: 2004/07/12 02:42:34
Author: dalibor
Branch: HEAD
Tag: (none) 
Log:
Resynced with GNU Classpath: InvocationEvent

2004-07-11  Dalibor Topic  <robilad at kaffe.org>

        * libraries/javalib/java/awt/event/InvocationEvent.java:
        Resynced with GNU Classpath.

        2004-07-01  Mark Wielaard  <mark at klomp.org>

        * java/awt/event/InvocationEvent.java (dispatch): Synchronize
        on notifier object before calling notifyAll().

Members: 
	ChangeLog:1.2503->1.2504 
	libraries/javalib/java/awt/event/InvocationEvent.java:1.2->1.3 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2503 kaffe/ChangeLog:1.2504
--- kaffe/ChangeLog:1.2503	Mon Jul 12 02:34:19 2004
+++ kaffe/ChangeLog	Mon Jul 12 02:42:34 2004
@@ -6,7 +6,17 @@
 
 2004-07-11  Dalibor Topic  <robilad at kaffe.org>
 
-	* java/awt/GridBagLayout.java:
+	* libraries/javalib/java/awt/event/InvocationEvent.java:
+	Resynced with GNU Classpath.
+
+	2004-07-01  Mark Wielaard  <mark at klomp.org>
+
+        * java/awt/event/InvocationEvent.java (dispatch): Synchronize
+        on notifier object before calling notifyAll().
+
+2004-07-11  Dalibor Topic  <robilad at kaffe.org>
+
+	* libraries/javalib/java/awt/GridBagLayout.java:
 	Resynced with GNU Classpath.
 
 	2004-06-26  David Jee  <djee at redhat.com>
Index: kaffe/libraries/javalib/java/awt/event/InvocationEvent.java
diff -u kaffe/libraries/javalib/java/awt/event/InvocationEvent.java:1.2 kaffe/libraries/javalib/java/awt/event/InvocationEvent.java:1.3
--- kaffe/libraries/javalib/java/awt/event/InvocationEvent.java:1.2	Mon Mar 22 11:24:38 2004
+++ kaffe/libraries/javalib/java/awt/event/InvocationEvent.java	Mon Jul 12 02:42:37 2004
@@ -38,8 +38,8 @@
 
 package java.awt.event;
 
-import java.awt.AWTEvent;
 import java.awt.ActiveEvent;
+import java.awt.AWTEvent;
 import java.awt.EventQueue;
 
 /**
@@ -189,8 +189,13 @@
         }
     else
       runnable.run();
-    if (notifier != null)
-      notifier.notifyAll();
+
+    Object o = notifier;
+    if (o != null)
+      synchronized(o)
+	{
+	  o.notifyAll();
+	}
   }
 
   /**




More information about the kaffe mailing list