Sat, 22 Dec 2018 13:10:38 -0800
Added tag jdk8u202-b25 for changeset 15d8c732039b
1 /*
2 * @test /nodynamiccopyright/
3 * @bug 8036007
4 * @summary javac crashes when encountering an unresolvable interface
5 * @build MissingInterfaceTestDep
6 * @clean Closeable
7 * @compile/fail/ref=MissingInterfaceTest.out -XDrawDiagnostics MissingInterfaceTest.java
8 */
10 public class MissingInterfaceTest {
11 void test(MissingInterfaceTestDep s) {
12 s.call();
13 s.another();
14 }
15 }