-
Bug
-
Resolution: Future Project
-
P4
-
None
-
5.0
-
generic
-
generic
The compiler fails to reject this program:
import java.util.*;
public class X<S> {
public static <U> X<U> test() {
return null;
}
}
class B extends X<Set> {
public static B test() {
return null;
}
}
import java.util.*;
public class X<S> {
public static <U> X<U> test() {
return null;
}
}
class B extends X<Set> {
public static B test() {
return null;
}
}
- relates to
-
JDK-6797871 Fix for 6797463 did not remove the jtreg tests, and it should have
- Closed
-
JDK-6798781 Return type substitutability must handle type variables better
- Closed
-
JDK-6797463 6557199 breaks the jax-ws workspace
- Closed