mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +02:00
8036007: javac crashes when encountering an unresolvable interface
Reviewed-by: vromero, jlahoda
This commit is contained in:
parent
d9e857f304
commit
03c0b0a11e
4 changed files with 45 additions and 0 deletions
|
@ -0,0 +1,15 @@
|
|||
/*
|
||||
* @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();
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue