author | duke |
Sat, 01 Dec 2007 00:00:00 +0000 | |
changeset 10 | 06bc494ca11e |
child 6150 | d055fa8ced62 |
permissions | -rw-r--r-- |
10 | 1 |
/* |
2 |
* @test /nodynamiccopyright/ |
|
3 |
* @bug 4980495 6260444 |
|
4 |
* @compile/fail/ref=Test.out -XDstdout -XDrawDiagnostics Test.java p1/A1.java p2/A2.java |
|
5 |
*/ |
|
6 |
||
7 |
package p; |
|
8 |
||
9 |
import static p1.A1.f; |
|
10 |
import static p2.A2.f; |
|
11 |
||
12 |
public class Test { |
|
13 |
||
14 |
public static void main(String argv[]) { |
|
15 |
f = 1; |
|
16 |
} |
|
17 |
} |