test/langtools/tools/javac/diags/examples/StaticIntfMethodInvokeNotSupported.java
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.static.intf.method.invoke.not.supported.in.source |
24 // key: compiler.err.feature.not.supported.in.source.plural |
|
25 // key: compiler.misc.feature.static.intf.method.invoke |
25 // options: -source 7 -Xlint:-options |
26 // options: -source 7 -Xlint:-options |
26 import java.util.stream.Stream; |
27 import java.util.stream.Stream; |
27 |
28 |
28 class StaticIntfMethodInvokeNotSupported { |
29 class StaticIntfMethodInvokeNotSupported { |
29 void test() { |
30 void test() { |