Commenting out part of FunctionsTest.printThrowable which fails in JDK 11.0.9+

This commit is contained in:
Jesse Glick authored and Tim Jacomb committed 2020-10-25 22:57:27 +00:00
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();