langtools/test/tools/javac/defaultMethods/private/Private09.java
changeset 29293 1583c6dd6df7
equal deleted inserted replaced
29292:c10d63c667cd 29293:1583c6dd6df7
       
     1 /* @test   /nodynamiccopyright/
       
     2  * @bug    8071453
       
     3  * @author sadayapalam
       
     4  * @summary Test various JLS changes made for supporting private interface methods.
       
     5  * @compile/fail/ref=Private09.out -XDrawDiagnostics Private09.java
       
     6  */
       
     7 class Private09 {
       
     8     interface I {
       
     9         private private void poo() {}
       
    10     }
       
    11 }