190ba196a0
Reviewed-by: jjg
15 lines
575 B
Java
15 lines
575 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.misc.VM.getFinalRefCount;
|
|
|
|
public class WarnStaticImport {}
|