Patch: FYI: Container fix
Tom Tromey
tromey@redhat.com
Thu Jan 24 23:03:00 GMT 2002
I'm checking this in.
This fixes a bug in Container.
Tom
Index: ChangeLog
from Tom Tromey <tromey@redhat.com>
* java/awt/Container.java (addNotify): Unconditionally call
addNotifyContainerChildren and superclass addNotify.
Index: java/awt/Container.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/awt/Container.java,v
retrieving revision 1.13
diff -u -r1.13 Container.java
--- java/awt/Container.java 2002/01/22 22:40:04 1.13
+++ java/awt/Container.java 2002/01/25 07:03:04
@@ -905,11 +905,8 @@
*/
public void addNotify ()
{
- if (peer == null)
- {
- addNotifyContainerChildren ();
- super.addNotify();
- }
+ addNotifyContainerChildren ();
+ super.addNotify();
}
private void addNotifyContainerChildren()
More information about the Java-patches
mailing list