changeset 3235:6483a83659d8

6847149: test/java/awt/Window/OwnedWindowsLeak/OwnedWindowsLeak.java fails Reviewed-by: art
author dcherepanov
date Thu, 09 Jul 2009 15:53:07 +0400
parents f0007f6747b0
children e1c4ad748c0f
files jdk/test/java/awt/Window/OwnedWindowsLeak/OwnedWindowsLeak.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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)