--- old/test/ProblemList.txt 2012-06-29 16:03:38.666958301 +0800 +++ new/test/ProblemList.txt 2012-06-29 16:03:37.955871329 +0800 @@ -122,9 +122,6 @@ # jdk_lang -# 7123972 -java/lang/annotation/loaderLeak/Main.java generic-all - # 6944188 java/lang/management/ThreadMXBean/ThreadStateTest.java generic-all --- old/test/java/lang/annotation/loaderLeak/Main.java 2012-06-29 16:03:41.487870022 +0800 +++ new/test/java/lang/annotation/loaderLeak/Main.java 2012-06-29 16:03:40.780873652 +0800 @@ -57,8 +57,13 @@ System.gc(); System.gc(); loader = null; - System.gc(); - System.gc(); + while(true) { + System.gc(); + Thread.sleep(20); + if(c.get() == null) { + break; + } + } if (c.get() != null) throw new AssertionError(); } }