6979568: Test failure: test\closed\java\awt\Component\VisibleHwInLwContTest\VisibleHwInLwContTest.html
Summary: Extend iteration to this container in isRecursivelyVisibleUpToHeavyweightContainer()
Reviewed-by: art, dcherepanov
--- 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())
{