Private10.java revision 2941:c11a5cb11750
1/*
2 * @test   /nodynamiccopyright/
3 * @bug    8080726
4 * @summary Redundant error message on private abstract interface method with body.
5 * @compile/fail/ref=Private10.out -XDrawDiagnostics Private10.java
6 */
7
8
9public class Private10 {
10    interface I {
11        private abstract void foo() {}
12    }
13    class C {
14        private abstract void foo() {}
15    }
16}
17