author | sogoel |
Fri, 15 May 2015 16:53:42 -0700 | |
changeset 30721 | 1024d425d97e |
parent 30719 | 91834c070ba5 |
permissions | -rw-r--r-- |
10 | 1 |
/* |
30719
91834c070ba5
8074417: Group 13a: golden files for tests in tools/javac/generics dir
sogoel
parents:
5520
diff
changeset
|
2 |
* @test /nodynamiccopyright/ |
10 | 3 |
* @bug 5011073 |
4 |
* @summary javac should implement JLS3 three-pass overload resolution |
|
5 |
* @author gafter |
|
6 |
* |
|
30719
91834c070ba5
8074417: Group 13a: golden files for tests in tools/javac/generics dir
sogoel
parents:
5520
diff
changeset
|
7 |
* @compile/fail/ref=T5011073.out -XDrawDiagnostics T5011073.java |
10 | 8 |
*/ |
9 |
||
10 |
import java.util.*; |
|
11 |
class T5011073 { |
|
12 |
static void f(Set<String> s, Class<String> c) {} |
|
13 |
||
14 |
static void g(Set<Integer> s, Class c) { |
|
15 |
f(s, c); |
|
16 |
} |
|
17 |
} |