langtools/test/tools/javac/importChecks/InvalidImportsNoClasses.java
author jlahoda
Mon, 08 Sep 2014 15:51:29 +0200
changeset 26534 43bd005b6972
parent 25439 26d6d07eebc7
permissions -rw-r--r--
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

/*
 * @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;