jdk/src/share/classes/java/awt/Container.java
changeset 6827 ee4403d28487
parent 5506 202f599c92aa
child 7154 4e8371f358ac
--- a/jdk/src/share/classes/java/awt/Container.java	Thu Oct 14 18:24:36 2010 +0400
+++ b/jdk/src/share/classes/java/awt/Container.java	Thu Oct 14 18:59:15 2010 +0400
@@ -4187,7 +4187,7 @@
             return true;
         }
 
-        for (Container cont = getContainer();
+        for (Container cont = this;
                 cont != null && cont.isLightweight();
                 cont = cont.getContainer())
         {