test/tools/javac/defaultMethods/Pos01.java

changeset 1415
01c9d4161882
parent 1393
d7d932236fee
child 2020
bb7271e64ef6
equal deleted inserted replaced
1414:843d3b191773 1415:01c9d4161882
22 */ 22 */
23 23
24 /* 24 /*
25 * @test 25 * @test
26 * @summary basic test for default methods 26 * @summary basic test for default methods
27 * @ignore awaits lambda support
28 * @author Maurizio Cimadamore 27 * @author Maurizio Cimadamore
29 * @compile -XDallowLambda -XDallowPoly -XDallowDefaultMethods Pos01.java
30 */ 28 */
31 29
32 import java.util.*; 30 import java.util.*;
33 31
34 class Pos01 { 32 public class Pos01 {
35 33
36 interface Mapper<T> { 34 interface Mapper<T> {
37 T map(T in); 35 T map(T in);
38 } 36 }
39 37

mercurial