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:
parent
a9061c2918
commit
2beda23cf8
@ -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;
|
@ -1,2 +0,0 @@
|
||||
NoClass.java:12:24: compiler.err.doesnt.exist: nonexistent.pack
|
||||
1 error
|
@ -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
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user