changeset 1401:c27d7c1d1918

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