-
Enhancement
-
Resolution: Other
-
P5
-
None
-
None
-
None
Wildcards can have lower bounds. Type variables can't. Since wildcards are
converted to type variables with lower bounds by capture conversion the
compiler and the specification must deal with type variables with lower bounds
anyways. Thus it appears to be a minor addition to the language to allow lower
bounds on type variables.
###@###.### 2004-05-25
converted to type variables with lower bounds by capture conversion the
compiler and the specification must deal with type variables with lower bounds
anyways. Thus it appears to be a minor addition to the language to allow lower
bounds on type variables.
###@###.### 2004-05-25
- duplicates
-
JDK-6182618 <X super T> void bar1(Class<X> x) does not compile
- Closed
- relates to
-
JDK-5052943 4.10.4: Improve lub for lower-bounded wildcards and variables
- Open
-
JDK-6192945 Declaration order of interdependent generic types should not matter
- Closed
-
JDK-8061410 Multiply-bounded reference type expressions
- Closed
-
JDK-8061426 Wildcard should have multiple bounds similar to type variables
- Closed