hotspot/test/runtime/CommandLine/TraceExceptionsTest.java
changeset 37190 09d719d466a6
parent 35216 71c463a17b3b
child 37297 d65d53a0ecc7
--- a/hotspot/test/runtime/CommandLine/TraceExceptionsTest.java	Thu Mar 24 15:19:06 2016 +0000
+++ b/hotspot/test/runtime/CommandLine/TraceExceptionsTest.java	Thu Mar 24 13:25:10 2016 -0400
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -38,7 +38,7 @@
         ProcessBuilder pb = ProcessTools.createJavaProcessBuilder(
             "-Xlog:exceptions=info", "NoClassFound");
         OutputAnalyzer output = new OutputAnalyzer(pb.start());
-        output.shouldContain("<a 'java/lang/ClassNotFoundException': NoClassFound>");
+        output.shouldContain("<a 'java/lang/ClassNotFoundException'").shouldContain(": NoClassFound>");
         output.shouldNotContain("<a 'java/lang/ClassNotFoundException'>");
         output.shouldHaveExitValue(1);
     }