jdk-24/langtools/test/tools/javac/defaultMethods/private/Private09.java
Srikanth Adayapalam 105275fb87 8071453: Allow interface methods to be private
Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com>
Reviewed-by: mcimadamore
2015-03-02 10:41:08 +05:30

12 lines
312 B
Java

/* @test /nodynamiccopyright/
* @bug 8071453
* @author sadayapalam
* @summary Test various JLS changes made for supporting private interface methods.
* @compile/fail/ref=Private09.out -XDrawDiagnostics Private09.java
*/
class Private09 {
interface I {
private private void poo() {}
}
}