Skip to content

Commit

Permalink
Commenting out part of FunctionsTest.printThrowable which fails in JD…
Browse files Browse the repository at this point in the history
…K 11.0.9+
  • Loading branch information
jglick authored and timja committed Oct 25, 2020
1 parent 9ac18fa commit a26adf1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/src/test/java/hudson/FunctionsTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,7 @@ public void printStackTrace(PrintWriter s) {
s.println("Some custom exception");
}
}, "Some custom exception\n", "Some custom exception\n");
/* TODO exact format changed in 11.0.9 (JDK-8226809 / JDK-8252444)
// Circular references:
Stack stack1 = new Stack("p.Exc1", "p.C.method1:17");
Stack stack2 = new Stack("p.Exc2", "p.C.method2:27");
Expand All @@ -526,6 +527,7 @@ public void printStackTrace(PrintWriter s) {
"\tat p.C.method2(C.java:27)\n" +
"Caused: p.Exc1\n" +
"\tat p.C.method1(C.java:17)\n");
*/
}
private static void assertPrintThrowable(Throwable t, String traditional, String custom) {
StringWriter sw = new StringWriter();
Expand Down

0 comments on commit a26adf1

Please sign in to comment.