From 6ffc2c3b6928c4f7d7d1b4edb3c663fada877eac Mon Sep 17 00:00:00 2001 From: Gary Adams Date: Wed, 23 Nov 2011 12:30:19 +0000 Subject: [PATCH] 6776144: java/lang/ThreadGroup/NullThreadName.java fails with Thread group is not destroyed ,fastdebug LINUX Reviewed-by: chegar, dholmes --- jdk/test/java/lang/ThreadGroup/NullThreadName.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/jdk/test/java/lang/ThreadGroup/NullThreadName.java b/jdk/test/java/lang/ThreadGroup/NullThreadName.java index 4d847c6e254..4179b22446d 100644 --- a/jdk/test/java/lang/ThreadGroup/NullThreadName.java +++ b/jdk/test/java/lang/ThreadGroup/NullThreadName.java @@ -24,7 +24,6 @@ /* * @test * @bug 6576763 - * @ignore until hotspot 6776144 bug is resolved * @summary (thread) Thread constructors throw undocumented NPE for null name */ @@ -64,8 +63,8 @@ public class NullThreadName try { Thread.sleep(2000); } catch (InterruptedException unused) {} - /* do not wait forever */ - if (count++ > 5) + /* do not wait forever - allow 120 seconds same as jtreg default timeout. */ + if (count++ > 60) throw new AssertionError("GoodThread is still alive!"); }