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.import.not.supported.in.source |
24 // key: compiler.err.static.import.not.supported.in.source |
25 // options: -source 1.4 |
25 // options: -source 1.4 -Xlint:-options |
26 |
26 |
27 import static java.util.regex.Pattern.*; |
27 import static java.util.regex.Pattern.*; |
28 |
28 |
29 class StaticImportNotSupported { } |
29 class StaticImportNotSupported { } |