Skip to content

Commit 60f6ee9

Browse files
authored
Merge pull request ibmruntimes#418 from theresa-m/jsr166details
Modify JSR166TestCase to gather more error information
2 parents d54580c + 6e6b765 commit 60f6ee9

File tree

1 file changed

+17
-6
lines changed

1 file changed

+17
-6
lines changed

test/jdk/java/util/concurrent/tck/JSR166TestCase.java

+17-6
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,10 @@
3939
* @summary Conformance testing variant of JSR-166 tck tests.
4040
* @build *
4141
* @modules java.management
42-
* @run junit/othervm/timeout=1000 -Xdump:system+java+snap:events=systhrow,filter=java/lang/Exception,msg_filter=*JUnit* JSR166TestCase
42+
* @run junit/othervm/timeout=1000
43+
* -Xdump:system+java+snap:events=throw+systhrow,filter=java/lang/Exception,msg_filter=*JUnit*
44+
* -Xdump:system+java+snap:events=throw+systhrow,filter=junit/framework/AssertionFailedError
45+
* JSR166TestCase
4346
*/
4447

4548
/*
@@ -48,7 +51,11 @@
4851
* with java security manager set to allow.
4952
* @build *
5053
* @modules java.management
51-
* @run junit/othervm/timeout=1000 -Djava.security.manager=allow -Xdump:system+java+snap:events=systhrow,filter=java/lang/Exception,msg_filter=*JUnit* JSR166TestCase
54+
* @run junit/othervm/timeout=1000
55+
* -Djava.security.manager=allow
56+
* -Xdump:system+java+snap:events=throw+systhrow,filter=java/lang/Exception,msg_filter=*JUnit*
57+
* -Xdump:system+java+snap:events=throw+systhrow,filter=junit/framework/AssertionFailedError
58+
* JSR166TestCase
5259
*/
5360

5461
/*
@@ -62,15 +69,17 @@
6269
* --add-opens java.base/java.lang=ALL-UNNAMED
6370
* -Djsr166.testImplementationDetails=true
6471
* -Djava.util.concurrent.ForkJoinPool.common.parallelism=0
65-
* -Xdump:system+java+snap:events=systhrow,filter=java/lang/Exception,msg_filter=*JUnit*
72+
* -Xdump:system+java+snap:events=throw+systhrow,filter=java/lang/Exception,msg_filter=*JUnit*
73+
* -Xdump:system+java+snap:events=throw+systhrow,filter=junit/framework/AssertionFailedError
6674
* JSR166TestCase
6775
* @run junit/othervm/timeout=1000
6876
* --add-opens java.base/java.util.concurrent=ALL-UNNAMED
6977
* --add-opens java.base/java.lang=ALL-UNNAMED
7078
* -Djsr166.testImplementationDetails=true
7179
* -Djava.util.concurrent.ForkJoinPool.common.parallelism=1
7280
* -Djava.util.secureRandomSeed=true
73-
* -Xdump:system+java+snap:events=systhrow,filter=java/lang/Exception,msg_filter=*JUnit*
81+
* -Xdump:system+java+snap:events=throw+systhrow,filter=java/lang/Exception,msg_filter=*JUnit*
82+
* -Xdump:system+java+snap:events=throw+systhrow,filter=junit/framework/AssertionFailedError
7483
* JSR166TestCase
7584
*/
7685

@@ -85,13 +94,15 @@
8594
* --add-opens java.base/java.util.concurrent=ALL-UNNAMED
8695
* --add-opens java.base/java.lang=ALL-UNNAMED
8796
* -Djsr166.testImplementationDetails=true
88-
* -Xdump:system+java+snap:events=systhrow,filter=java/lang/Exception,msg_filter=*JUnit*
97+
* -Xdump:system+java+snap:events=throw+systhrow,filter=java/lang/Exception,msg_filter=*JUnit*
98+
* -Xdump:system+java+snap:events=throw+systhrow,filter=junit/framework/AssertionFailedError
8999
* JSR166TestCase
90100
* @run junit/othervm/timeout=1000/policy=tck.policy
91101
* --add-opens java.base/java.util.concurrent=ALL-UNNAMED
92102
* --add-opens java.base/java.lang=ALL-UNNAMED
93103
* -Djsr166.testImplementationDetails=true
94-
* -Xdump:system+java+snap:events=systhrow,filter=java/lang/Exception,msg_filter=*JUnit*
104+
* -Xdump:system+java+snap:events=throw+systhrow,filter=java/lang/Exception,msg_filter=*JUnit*
105+
* -Xdump:system+java+snap:events=throw+systhrow,filter=junit/framework/AssertionFailedError
95106
* JSR166TestCase
96107
*/
97108

0 commit comments

Comments
 (0)