提交 8693edee 编写于 作者: C chegar

6776144: java/lang/ThreadGroup/NullThreadName.java fails with Thread group is...

6776144: java/lang/ThreadGroup/NullThreadName.java fails with Thread group is not destroyed ,fastdebug LINUX
Reviewed-by: chegar, dholmes
Contributed-by: gary.adams@oracle.com
上级 7973562f
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
/* /*
* @test * @test
* @bug 6576763 * @bug 6576763
* @ignore until hotspot 6776144 bug is resolved
* @summary (thread) Thread constructors throw undocumented NPE for null name * @summary (thread) Thread constructors throw undocumented NPE for null name
*/ */
...@@ -64,8 +63,8 @@ public class NullThreadName ...@@ -64,8 +63,8 @@ public class NullThreadName
try { Thread.sleep(2000); } try { Thread.sleep(2000); }
catch (InterruptedException unused) {} catch (InterruptedException unused) {}
/* do not wait forever */ /* do not wait forever - allow 120 seconds same as jtreg default timeout. */
if (count++ > 5) if (count++ > 60)
throw new AssertionError("GoodThread is still alive!"); throw new AssertionError("GoodThread is still alive!");
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册