author | sogoel |
Thu, 05 Jun 2014 10:57:10 -0700 | |
changeset 24797 | 850ebd4d80a7 |
parent 3766 | 7e2df99e9223 |
permissions | -rw-r--r-- |
1534
e923a41e84cc
6758789: Some method resolution diagnostic should be improved
mcimadamore
parents:
diff
changeset
|
1 |
/* |
3766 | 2 |
* @test /nodynamiccopyright/ |
1534
e923a41e84cc
6758789: Some method resolution diagnostic should be improved
mcimadamore
parents:
diff
changeset
|
3 |
* @bug 6758789 |
e923a41e84cc
6758789: Some method resolution diagnostic should be improved
mcimadamore
parents:
diff
changeset
|
4 |
* @summary 6758789: Some method resolution diagnostic should be improved |
e923a41e84cc
6758789: Some method resolution diagnostic should be improved
mcimadamore
parents:
diff
changeset
|
5 |
* @author Maurizio Cimadamore |
e923a41e84cc
6758789: Some method resolution diagnostic should be improved
mcimadamore
parents:
diff
changeset
|
6 |
* |
e923a41e84cc
6758789: Some method resolution diagnostic should be improved
mcimadamore
parents:
diff
changeset
|
7 |
* @compile/fail/ref=T6758789a.out -XDrawDiagnostics T6758789a.java |
e923a41e84cc
6758789: Some method resolution diagnostic should be improved
mcimadamore
parents:
diff
changeset
|
8 |
*/ |
e923a41e84cc
6758789: Some method resolution diagnostic should be improved
mcimadamore
parents:
diff
changeset
|
9 |
|
e923a41e84cc
6758789: Some method resolution diagnostic should be improved
mcimadamore
parents:
diff
changeset
|
10 |
class T6758789a { |
e923a41e84cc
6758789: Some method resolution diagnostic should be improved
mcimadamore
parents:
diff
changeset
|
11 |
void m1() {} |
e923a41e84cc
6758789: Some method resolution diagnostic should be improved
mcimadamore
parents:
diff
changeset
|
12 |
void m2(int i) {} |
e923a41e84cc
6758789: Some method resolution diagnostic should be improved
mcimadamore
parents:
diff
changeset
|
13 |
void test() { |
e923a41e84cc
6758789: Some method resolution diagnostic should be improved
mcimadamore
parents:
diff
changeset
|
14 |
m1(1); |
e923a41e84cc
6758789: Some method resolution diagnostic should be improved
mcimadamore
parents:
diff
changeset
|
15 |
m2(); |
e923a41e84cc
6758789: Some method resolution diagnostic should be improved
mcimadamore
parents:
diff
changeset
|
16 |
} |
e923a41e84cc
6758789: Some method resolution diagnostic should be improved
mcimadamore
parents:
diff
changeset
|
17 |
} |