aoqi@0: /* aoqi@0: * @test /nodynamiccopyright/ aoqi@0: * @bug 8003280 8016177 aoqi@0: * @summary Add lambda tests aoqi@0: * check that wildcards in the target method of a lambda conversion is handled correctly aoqi@0: * @author Maurizio Cimadamore aoqi@0: * @compile TargetType10.java aoqi@0: */ aoqi@0: aoqi@0: class TargetType10 { aoqi@0: interface Function { aoqi@0: R apply(A a); aoqi@0: } aoqi@0: aoqi@0: static class Test { aoqi@0: Function compose(Function g, Function f) { return null; } aoqi@0: { compose(x -> "a" + x, x -> x + "b"); } aoqi@0: } aoqi@0: }