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

17 lines
361 B
Java

/*
* @test /nodynamiccopyright/
* @bug 8080726
* @summary Redundant error message on private abstract interface method with body.
* @compile/fail/ref=Private10.out -XDrawDiagnostics Private10.java
*/
public class Private10 {
interface I {
private abstract void foo() {}
}
class C {
private abstract void foo() {}
}
}