langtools/test/tools/lib/toolbox/TestRunner.java
changeset 42837 03ee805ba348
parent 40308 274367a99f98
equal deleted inserted replaced
42836:1d55dcc9a118 42837:03ee805ba348
    88                     out.println("test: " + testName);
    88                     out.println("test: " + testName);
    89                     m.invoke(this, f.apply(m));
    89                     m.invoke(this, f.apply(m));
    90                 } catch (InvocationTargetException e) {
    90                 } catch (InvocationTargetException e) {
    91                     errorCount++;
    91                     errorCount++;
    92                     Throwable cause = e.getCause();
    92                     Throwable cause = e.getCause();
    93                     out.println("Exception: " + e.getCause());
    93                     out.println("Exception running test " + testName + ": " + e.getCause());
    94                     cause.printStackTrace(out);
    94                     cause.printStackTrace(out);
    95                 }
    95                 }
    96                 out.println();
    96                 out.println();
    97             }
    97             }
    98         }
    98         }