8057753: Test langtools/test/tools/javac/NoClass.java is failing when run together with langtools/test/tools/javac/DuplicateImport.java
Summary: Removing javac/NoClass test, as it is superseded by javac/importChecks/InvalidImportsNoClasses.java
Reviewed-by: jfranck
--- a/langtools/test/tools/javac/NoClass.java Mon Sep 08 14:16:33 2014 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -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;
--- a/langtools/test/tools/javac/NoClass.out Mon Sep 08 14:16:33 2014 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-NoClass.java:12:24: compiler.err.doesnt.exist: nonexistent.pack
-1 error
--- a/langtools/test/tools/javac/importChecks/InvalidImportsNoClasses.java Mon Sep 08 14:16:33 2014 +0100
+++ b/langtools/test/tools/javac/importChecks/InvalidImportsNoClasses.java Mon Sep 08 15:51:29 2014 +0200
@@ -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
*