d829940e2d
Reviewed-by: alanb, mullan, weijun
15 lines
578 B
Java
15 lines
578 B
Java
/*
|
|
* @test /nodynamiccopyright/
|
|
* @bug 6380059
|
|
* @summary Emit warnings for proprietary packages in the boot class path
|
|
* @author Peter von der Ah\u00e9
|
|
* @compile WarnStaticImport.java
|
|
* @compile/fail/ref=WarnStaticImport.out -XDrawDiagnostics -Werror WarnStaticImport.java
|
|
* @compile/fail/ref=WarnStaticImport.out -XDrawDiagnostics -Werror -nowarn WarnStaticImport.java
|
|
* @compile/fail/ref=WarnStaticImport.out -XDrawDiagnostics -Werror -Xlint:none WarnStaticImport.java
|
|
*/
|
|
|
|
import static sun.security.x509.OIDMap.getOID;
|
|
|
|
public class WarnStaticImport {}
|