changeset 1153:45dfc3aeee8f

6835241: Annotate some tests with @ignore that have shown to be unpredictable Reviewed-by: tbell
author ohair
date Tue, 28 Apr 2009 14:43:44 -0700
parents 31a9fa5a8e6b
children d5a1223e9618 903ce4bda292
files test/java/lang/Class/getEnclosingConstructor/EnclosingConstructorTests.java test/java/lang/instrument/ParallelTransformerLoader.sh test/java/lang/management/ThreadMXBean/ThreadStateTest.java test/java/security/Security/ClassLoaderDeadlock/Deadlock2.sh test/java/util/logging/LoggingDeadlock2.java
diffstat 5 files changed, 8 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/test/java/lang/Class/getEnclosingConstructor/EnclosingConstructorTests.java	Mon Apr 27 20:26:18 2009 -0700
+++ b/test/java/lang/Class/getEnclosingConstructor/EnclosingConstructorTests.java	Tue Apr 28 14:43:44 2009 -0700
@@ -23,7 +23,7 @@
 
 /*
  * @test
- * @bug 4962341
+ * @bug 4962341 6832557
  * @summary Check getEnclosingMethod method
  * @author Joseph D. Darcy
  */
@@ -57,8 +57,8 @@
     }
 
 
-    static int examine(Class enclosedClass, String constructorSig) {
-        Constructor c = enclosedClass.getEnclosingConstructor();
+    static int examine(Class<?> enclosedClass, String constructorSig) {
+        Constructor<?> c = enclosedClass.getEnclosingConstructor();
         if (c == null && constructorSig == null)
             return 0;
 
--- a/test/java/lang/instrument/ParallelTransformerLoader.sh	Mon Apr 27 20:26:18 2009 -0700
+++ b/test/java/lang/instrument/ParallelTransformerLoader.sh	Tue Apr 28 14:43:44 2009 -0700
@@ -23,6 +23,7 @@
 
 # @test
 # @bug 5088398
+# @ignore until bug 6835233 dealt with
 # @summary Test parallel class loading by parallel transformers.
 # @author Daniel D. Daugherty as modified from the code of Daryl Puryear @ Wily
 #
--- a/test/java/lang/management/ThreadMXBean/ThreadStateTest.java	Mon Apr 27 20:26:18 2009 -0700
+++ b/test/java/lang/management/ThreadMXBean/ThreadStateTest.java	Tue Apr 28 14:43:44 2009 -0700
@@ -23,7 +23,8 @@
 
 /*
  * @test
- * @bug     4967283
+ * @bug     4967283 5080203
+ * @ignore  Due to 5080203, cannot rely on this test always passing.
  * @summary Basic unit test of thread states returned by
  *          ThreadMXBean.getThreadInfo.getThreadState().
  *          It also tests lock information returned by ThreadInfo.
--- a/test/java/security/Security/ClassLoaderDeadlock/Deadlock2.sh	Mon Apr 27 20:26:18 2009 -0700
+++ b/test/java/security/Security/ClassLoaderDeadlock/Deadlock2.sh	Tue Apr 28 14:43:44 2009 -0700
@@ -26,6 +26,7 @@
 
 # @test
 # @bug 6440846
+# @ignore until 6203816 is dealt with.
 # @summary make sure we do not deadlock between ExtClassLoader and AppClassLoader
 # @author Valerie Peng
 # @run shell/timeout=20 Deadlock2.sh
--- a/test/java/util/logging/LoggingDeadlock2.java	Mon Apr 27 20:26:18 2009 -0700
+++ b/test/java/util/logging/LoggingDeadlock2.java	Tue Apr 28 14:43:44 2009 -0700
@@ -24,6 +24,7 @@
 /*
  * @test
  * @bug     6467152 6716076 6829503
+ * @ignore Until made more stable, see 6829636.
  * @summary deadlock occurs in LogManager initialization and JVM termination
  * @author  Serguei Spitsyn / Hitachi / Martin Buchholz
  *