Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdi-dev] History of legal bean types?

On Wed, Jun 3, 2020 at 2:23 PM Laird Nelson <ljnelson@xxxxxxxxx> wrote:
The specification says:

"However, some Java types are not legal bean types :…A parameterized type that contains a wildcard type parameter is not a legal bean type."

(I've clarified on the weld-dev mailing list and via private correspondence that "contains" means containment at an arbitrarily deep level, i.e. if "?" appears anywhere in the parameterized type in question, no matter where.)

This is actually an open issue (that is five years old), I just discovered: https://issues.redhat.com/browse/CDI-502  I'll sign up to watch that issue there instead.

Best,
Laird

Back to the top