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
This commit is contained in:
Jan Lahoda 2014-09-08 15:51:29 +02:00
parent a9061c2918
commit 2beda23cf8
3 changed files with 1 additions and 15 deletions

View File

@ -1,12 +0,0 @@
/*
* @test /nodynamiccopyright/
* @bug 4041851
* @summary The gramamr allows java files without class or interface
* declarations; when the compiler encountered this, it failed
* to check the validity of import declarations.
* @author turnidge
*
* @compile/fail/ref=NoClass.out -XDrawDiagnostics NoClass.java
*/
import nonexistent.pack.cls;

View File

@ -1,2 +0,0 @@
NoClass.java:12:24: compiler.err.doesnt.exist: nonexistent.pack
1 error

View File

@ -1,6 +1,6 @@
/*
* @test /nodynamiccopyright/
* @bug 4312063
* @bug 4041851 4312063
* @summary Verify that nonexistent imports detected when no classes declared in compilation unit.
* @author maddox
*