6847149: test/java/awt/Window/OwnedWindowsLeak/OwnedWindowsLeak.java fails
authordcherepanov
Thu, 09 Jul 2009 15:53:07 +0400
changeset 3235 6483a83659d8
parent 3234 f0007f6747b0
child 3236 e1c4ad748c0f
6847149: test/java/awt/Window/OwnedWindowsLeak/OwnedWindowsLeak.java fails Reviewed-by: art
jdk/test/java/awt/Window/OwnedWindowsLeak/OwnedWindowsLeak.java
--- a/jdk/test/java/awt/Window/OwnedWindowsLeak/OwnedWindowsLeak.java	Thu Jul 09 15:23:22 2009 -0400
+++ b/jdk/test/java/awt/Window/OwnedWindowsLeak/OwnedWindowsLeak.java	Thu Jul 09 15:53:07 2009 +0400
@@ -65,6 +65,7 @@
                 break;
             }
         }
+        garbage = null;
 
         // Third, make sure all the weak references are null
         for (WeakReference<Window> ref : children)