test/tools/javac/defaultMethods/Neg04.java

changeset 2020
bb7271e64ef6
parent 1415
01c9d4161882
child 2525
2eb010b6cb22
equal deleted inserted replaced
2019:77d395862700 2020:bb7271e64ef6
1 /* 1 /* @test /nodynamiccopyright/
2 * @test /nodynamiccopyright/ 2 * @bug 7192246
3 * @summary check that default method must have most specific return type 3 * @summary check that default method must have most specific return type
4 * @compile/fail/ref=Neg04.out -XDrawDiagnostics Neg04.java 4 * @compile/fail/ref=Neg04.out -XDrawDiagnostics Neg04.java
5 */ 5 */
6 6
7 class Neg04 { 7 class Neg04 {

mercurial