jdk-24/langtools/test/tools/javac/proprietary/WarnImport.java
2015-05-15 01:28:43 -07:00

15 lines
503 B
Java

/*
* @test /nodynamiccopyright/
* @bug 6380059
* @summary Emit warnings for proprietary packages in the boot class path
* @author Peter von der Ah\u00e9
* @compile WarnImport.java
* @compile/fail/ref=WarnImport.out -XDrawDiagnostics -Werror WarnImport.java
* @compile/fail/ref=WarnImport.out -XDrawDiagnostics -Werror -nowarn WarnImport.java
* @compile/fail/ref=WarnImport.out -XDrawDiagnostics -Werror -Xlint:none WarnImport.java
*/
import sun.misc.VM;
public class WarnImport {}