mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-14 20:42:21 +00:00
Commenting out part of FunctionsTest.printThrowable which fails in JDK 11.0.9+
This commit is contained in:
1 parent
9ac18faaa4
commit
a26adf1d57
1 file changed
+2
@@ -510,6 +510,7 @@ public class FunctionsTest {
|
||||
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");
|
||||
@@ -526,6 +527,7 @@ public class FunctionsTest {
|
||||
"\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();
|
||||
|
||||
Reference in new issue
Block a user