hotspot/test/runtime/CommandLine/TraceExceptionsTest.java
changeset 37297 d65d53a0ecc7
parent 36851 03e2f4d0a421
parent 37190 09d719d466a6
child 40631 ed82623d7831
--- a/hotspot/test/runtime/CommandLine/TraceExceptionsTest.java	Wed Jul 05 21:33:32 2017 +0200
+++ b/hotspot/test/runtime/CommandLine/TraceExceptionsTest.java	Mon Apr 11 14:21:25 2016 -0700
@@ -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);
     }