-
Bug
-
Resolution: Fixed
-
P3
-
5.0, 6u25
-
b109
-
generic, x86
-
generic, windows_xp
-
Verified
Javac fails to infer the correct type for this method call
Foo.foo();
given this definition of Foo:
class Foo {
static <T, U extends java.util.List<T>> void foo() {
return;
}
}
- duplicates
-
JDK-7043414 incompatible types error with generic static factory method
- Closed
- relates to
-
JDK-6785112 Umbrella: issues with generic method type-inference
- Closed
-
JDK-6835428 regression: return-type inference rejects valid code
- Closed
-
JDK-6981185 com.sun.tools.model.JavacTypes.contains() calls Type.contains instead of Types.containsType
- Closed
-
JDK-7123100 javac fails with java.lang.StackOverflowError
- Closed
-
JDK-6369608 inference: Inferred types not substituted in bounds of unconstrained type variables
- Closed
-
JDK-6299211 method type variable: inference broken for null
- Closed
-
JDK-6468354 Type inference fails on method w/type parm "T extends Comparable<? super T>"
- Closed
-
JDK-6799605 Basic/Raw formatters should use type/symbol printer instead of toString()
- Closed