A new test (tools/launcher/ArgFileSyntax.java) was recently added. One of the 
things that test does is create command lines with newlines in them. If this is 
run at the same time as the jps tests, the regexp in the jps tests fails on the 
newlines in the output. A simple workaround for this is to make sure the jps 
tests are not being run together with the other tests. We do this by adding the 
test path to exclusiveAccess.dirs in JTREG.ROOT.

bug: https://bugs.openjdk.java.net/browse/JDK-8134458 
<https://bugs.openjdk.java.net/browse/JDK-8134458>

Thanks,
/Staffan


diff --git a/test/TEST.ROOT b/test/TEST.ROOT
--- a/test/TEST.ROOT
+++ b/test/TEST.ROOT
@@ -18,7 +18,7 @@
 othervm.dirs=java/awt java/beans javax/accessibility javax/imageio javax/sound 
javax/print javax/management com/sun/awt sun/awt sun/java2d sun/pisces 
javax/xml/jaxp/testng/validation java/lang/ProcessHandle

 # Tests that cannot run concurrently
-exclusiveAccess.dirs=java/rmi/Naming java/util/prefs sun/management/jmxremote 
sun/tools/jstatd sun/security/mscapi java/util/stream javax/rmi
+exclusiveAccess.dirs=java/rmi/Naming java/util/prefs sun/management/jmxremote 
sun/tools/jstatd sun/security/mscapi java/util/stream javax/rmi sun/tools/jps

 # Group definitions
 groups=TEST.groups [closed/TEST.groups]

Reply via email to