jdk-24/test/langtools/tools/javac/missingSuperRecovery/MissingInterfaceTest.java
2017-09-12 19:03:39 +02:00

16 lines
394 B
Java

/*
* @test /nodynamiccopyright/
* @bug 8036007
* @summary javac crashes when encountering an unresolvable interface
* @build MissingInterfaceTestDep
* @clean Closeable
* @compile/fail/ref=MissingInterfaceTest.out -XDrawDiagnostics MissingInterfaceTest.java
*/
public class MissingInterfaceTest {
void test(MissingInterfaceTestDep s) {
s.call();
s.another();
}
}