diff -r 000000000000 -r 959103a6100f test/tools/javac/lambda/TargetType41.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/tools/javac/lambda/TargetType41.java Wed Apr 27 01:34:52 2016 +0800 @@ -0,0 +1,15 @@ +/* + * @test /nodynamiccopyright/ + * @bug 8003280 + * @summary Add lambda tests + * out-of-order method checking should check as many arguments as possible + * @compile/fail/ref=TargetType41.out -XDrawDiagnostics TargetType41.java + */ + +class TargetType41 { + void m(String s, java.util.List lx) { } + + void test() { + m(1, new java.util.ArrayList<>()); + } +}