-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 1.4.1
-
Component/s: tools
-
tiger
-
generic
-
solaris_8
JSR14 prototype javac fails to reject the following incorrect program.
class C<A> { A id ( A x) { return x; } }
interface I<A> { A id(A x); }
class D extends C<String> implements I<Integer> {
public String id(String x) { return x; }
public Integer id(Integer x) { return x; }
}
class C<A> { A id ( A x) { return x; } }
interface I<A> { A id(A x); }
class D extends C<String> implements I<Integer> {
public String id(String x) { return x; }
public Integer id(Integer x) { return x; }
}