equal
deleted
inserted
replaced
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
20 * or visit www.oracle.com if you need additional information or have any |
20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. |
21 * questions. |
22 */ |
22 */ |
23 |
23 |
24 // key: compiler.err.var.not.allowed.array |
24 // key: compiler.err.restricted.type.not.allowed.array |
25 |
25 |
26 import java.util.function.*; |
26 import java.util.function.*; |
27 |
27 |
28 class BracketsNotAllowedImplicitLambda { |
28 class BracketsNotAllowedImplicitLambda { |
29 BiFunction<String[], String, String> f = (var s1[], var s2) -> s2; |
29 BiFunction<String[], String, String> f = (var s1[], var s2) -> s2; |