[cdi-dev] Assignability of raw and parameterized types
Marko Lukša
marko.luksa at gmail.com
Sun Apr 1 10:12:52 EDT 2012
Hey
How come section 5.2.3., bullet 4 was changed from:
* the required type parameter is an actual type, the bean type
parameter is a type variable and the actual type is assignable *to*
the upper bound, if any, of the type variable...
to:
* the required type parameter is an actual type, the bean type
parameter is a type variable and the actual type is assignable
*from* the upper bound, if any, of the type variable...
Doesn't this mean bean Dao<T extends Persistent> will not be assignable
to Dao<User>?
M.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/cdi-dev/attachments/20120401/09cba710/attachment.html
More information about the cdi-dev
mailing list