author | sogoel |
Mon, 07 Jul 2014 13:39:31 -0700 | |
changeset 25439 | 26d6d07eebc7 |
parent 5520 | 86e4b9a9da40 |
permissions | -rw-r--r-- |
10 | 1 |
/* |
25439
26d6d07eebc7
8044080: .out files for unicode, implicitThis and importChecks tests in tools/javac dir
sogoel
parents:
5520
diff
changeset
|
2 |
* @test /nodynamiccopyright/ |
10 | 3 |
* @bug 4335264 |
4 |
* @summary Verify that import-on-demand must be fully qualified. |
|
5 |
* @author maddox |
|
6 |
* |
|
25439
26d6d07eebc7
8044080: .out files for unicode, implicitThis and importChecks tests in tools/javac dir
sogoel
parents:
5520
diff
changeset
|
7 |
* @compile/fail/ref=ImportIsFullyQualified.out -XDrawDiagnostics ImportIsFullyQualified.java |
10 | 8 |
*/ |
9 |
||
10 |
import java.awt.*; |
|
11 |
import JobAttributes.*; // class JobAttributes is contained in package java.awt |
|
12 |
||
13 |
public class ImportIsFullyQualified { |
|
14 |
JobAttributes.DefaultSelectionType x; |
|
15 |
} |