Replies: 2 comments 6 replies
-
|
In summary, here's what happens in your case:
Specification only says the following on the matter:
Which says nothing on how you should treat wildcards, i.e. you could interpret it as one of these:
|
Beta Was this translation helpful? Give feedback.
-
Yes, I pointed out in my later comment (#3214 (reply in thread)) that I was wrong.
I wonder what others will say on the CDI issue I created for it (for both, |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
(I'm pushing hard on CDI events to fully understand them all the way down.)
I've found these tests to be interesting. The only difference is in the
TypeLiteralused to select theEvent. The first one succeeds; the second one fails:The specification does not seem to prohibit wildcards:
I'm not sure whether this is correct behavior or not. By default, I presume it is. If so, what reading of the specification supports this failure?
Beta Was this translation helpful? Give feedback.
All reactions