jdk/test/com/sun/jdi/NoLaunchOptionTest.java
changeset 20764 ad561abdaf7b
parent 5506 202f599c92aa
child 23010 6dadb192ad81
--- a/jdk/test/com/sun/jdi/NoLaunchOptionTest.java	Thu Oct 10 09:38:06 2013 +0200
+++ b/jdk/test/com/sun/jdi/NoLaunchOptionTest.java	Thu Oct 10 10:14:54 2013 +0200
@@ -142,7 +142,7 @@
         NoLaunchOptionTest myTest = new NoLaunchOptionTest();
         String results [] = myTest.run(VMConnection.insertDebuggeeVMOptions(cmds));
         if ((results[RETSTAT].equals("1")) &&
-            (results[STDERR].startsWith("ERROR:"))) {
+            (results[STDERR].contains("ERROR:"))) {
             System.out.println("Test passed: status = 1 with warning messages " +
                                "is expected and normal for this test");
         } else {