hotspot/test/runtime/logging/ExceptionsTest.java
changeset 37297 d65d53a0ecc7
parent 36851 03e2f4d0a421
parent 37190 09d719d466a6
child 40631 ed82623d7831
equal deleted inserted replaced
37011:c84d0cce090e 37297:d65d53a0ecc7
    43         env.put(environmentVariable, value);
    43         env.put(environmentVariable, value);
    44     }
    44     }
    45 
    45 
    46     static void analyzeOutputOn(ProcessBuilder pb) throws Exception {
    46     static void analyzeOutputOn(ProcessBuilder pb) throws Exception {
    47         OutputAnalyzer output = new OutputAnalyzer(pb.start());
    47         OutputAnalyzer output = new OutputAnalyzer(pb.start());
    48         output.shouldContain("<a 'java/lang/RuntimeException': Test exception 1 for logging>");
    48         output.shouldContain("<a 'java/lang/RuntimeException'").shouldContain(": Test exception 1 for logging>");
    49         output.shouldContain(" thrown in interpreter method ");
    49         output.shouldContain(" thrown in interpreter method ");
    50         output.shouldHaveExitValue(0);
    50         output.shouldHaveExitValue(0);
    51     }
    51     }
    52 
    52 
    53     static void analyzeOutputOff(ProcessBuilder pb) throws Exception {
    53     static void analyzeOutputOff(ProcessBuilder pb) throws Exception {