equal
deleted
inserted
replaced
1 /* |
|
2 * @test /nodynamiccopyright/ |
|
3 * @bug 6380059 |
|
4 * @summary Emit warnings for proprietary packages in the boot class path |
|
5 * @author Peter von der Ah\u00e9 |
|
6 * @compile WarnStaticImport.java |
|
7 * @compile/fail/ref=WarnStaticImport.out -XDrawDiagnostics -Werror WarnStaticImport.java |
|
8 * @compile/fail/ref=WarnStaticImport.out -XDrawDiagnostics -Werror -nowarn WarnStaticImport.java |
|
9 * @compile/fail/ref=WarnStaticImport.out -XDrawDiagnostics -Werror -Xlint:none WarnStaticImport.java |
|
10 */ |
|
11 |
|
12 import static sun.security.x509.OIDMap.getOID; |
|
13 |
|
14 public class WarnStaticImport {} |
|