[kaffe] CVS kaffe (robilad): Resynced with GNU classpath: AWTEvent fixes

Kaffe CVS cvs-commits at kaffe.org
Wed Mar 9 04:41:39 PST 2005


PatchSet 5510 
Date: 2005/03/09 12:36:12
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Resynced with GNU classpath: AWTEvent fixes

2005-03-09  Dalibor Topic  <robilad at kaffe.org>

        Resynced with GNU Classpath.

        2005-03-09  Robert Schuster <thebohemian at gmx.net>

        * java/awt/AWTEvent.java (toString): Added case
        for source not being an AWT component.

Members: 
	ChangeLog:1.3684->1.3685 
	libraries/javalib/java/awt/AWTEvent.java:1.22->1.23 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3684 kaffe/ChangeLog:1.3685
--- kaffe/ChangeLog:1.3684	Wed Mar  9 12:14:40 2005
+++ kaffe/ChangeLog	Wed Mar  9 12:36:12 2005
@@ -2,6 +2,15 @@
 
 	Resynced with GNU Classpath.
 
+	2005-03-09  Robert Schuster <thebohemian at gmx.net>
+
+        * java/awt/AWTEvent.java (toString): Added case
+        for source not being an AWT component.
+
+2005-03-09  Dalibor Topic  <robilad at kaffe.org>
+
+	Resynced with GNU Classpath.
+
 	2005-03-08 David Gilbert <david.gilbert at object-refinery.com>
 
         * java/awt/Font.java (decode): Handle null argument and allow
Index: kaffe/libraries/javalib/java/awt/AWTEvent.java
diff -u kaffe/libraries/javalib/java/awt/AWTEvent.java:1.22 kaffe/libraries/javalib/java/awt/AWTEvent.java:1.23
--- kaffe/libraries/javalib/java/awt/AWTEvent.java:1.22	Fri Feb 18 15:13:38 2005
+++ kaffe/libraries/javalib/java/awt/AWTEvent.java	Wed Mar  9 12:36:16 2005
@@ -1,5 +1,5 @@
 /* AWTEvent.java -- the root event in AWT
-   Copyright (C) 1999, 2000, 2002 Free Software Foundation
+   Copyright (C) 1999, 2000, 2002, 2005 Free Software Foundation
 
 This file is part of GNU Classpath.
 
@@ -246,6 +246,9 @@
     else if (source instanceof MenuComponent)
       string = getClass ().getName () + "[" + paramString () + "] on "
         + ((MenuComponent) source).getName ();
+    else 
+      string = getClass ().getName () + "[" + paramString () + "] on "
+    + source;
 
     return string;
   }




More information about the kaffe mailing list