jdk-24/langtools/test/tools/javac/importChecks/InvalidImportsNoClasses.java
Jan Lahoda 2beda23cf8 8057753: Test langtools/test/tools/javac/NoClass.java is failing when run together with langtools/test/tools/javac/DuplicateImport.java
Removing javac/NoClass test, as it is superseded by javac/importChecks/InvalidImportsNoClasses.java

Reviewed-by: jfranck
2014-09-08 15:51:29 +02:00

11 lines
308 B
Java

/*
* @test /nodynamiccopyright/
* @bug 4041851 4312063
* @summary Verify that nonexistent imports detected when no classes declared in compilation unit.
* @author maddox
*
* @compile/fail/ref=InvalidImportsNoClasses.out -XDrawDiagnostics InvalidImportsNoClasses.java
*/
import nonexistent.pack.cls;