changeset 135:ff58e7db18e9

Clarify @Contended error message.
author shade
date Sat, 15 Mar 2014 01:11:52 +0400
parents ca03603ce42e
children 14265b1b98bf
files jcstress-core/src/main/java/org/openjdk/jcstress/Main.java
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/jcstress-core/src/main/java/org/openjdk/jcstress/Main.java	Sat Mar 15 00:56:07 2014 +0400
+++ b/jcstress-core/src/main/java/org/openjdk/jcstress/Main.java	Sat Mar 15 01:11:52 2014 +0400
@@ -77,8 +77,7 @@
             if (!ContendedSupport.tryContended()) {
                 System.out.println("Non-fatal: VM support for @Contended is not enabled, tests might run slower.\nPossible reasons are:\n" +
                         "  1) unsupported JDK, only JDK 8+ is supported; \n" +
-                        "  2) -XX:-RestrictContended is missing; \n" +
-                        "  3) the jcstress JAR is not added to -Xbootclasspath/a\n");
+                        "  2) -XX:-RestrictContended is missing, or the jcstress JAR is not added to -Xbootclasspath/a");
             } else {
                 System.out.println("@Contended is in use.\n");
             }