jdk-24/test/langtools/tools/javac/importChecks/ImportIsFullyQualified.java
2017-09-12 19:03:39 +02:00

16 lines
419 B
Java

/*
* @test /nodynamiccopyright/
* @bug 4335264
* @summary Verify that import-on-demand must be fully qualified.
* @author maddox
*
* @compile/fail/ref=ImportIsFullyQualified.out -XDrawDiagnostics ImportIsFullyQualified.java
*/
import java.awt.*;
import JobAttributes.*; // class JobAttributes is contained in package java.awt
public class ImportIsFullyQualified {
JobAttributes.DefaultSelectionType x;
}