[cdi-dev] CDI-494 (next attempt)
Martin Kouba
mkouba at redhat.com
Thu Apr 14 09:14:50 EDT 2016
Hi all,
this is my last attempt to push CDI-494 [1] forward. I'm not going to
describe the problem again, there is ML thread [2], issue comments [3],
pull request comments, etc.
But, I've prepared a simple sample (arquillian test) [4] to:
1. Show the current behavior (Weld 1.1, Weld 2.3, OWB 1.2, OWB 1.6)
2. Demonstrate what exactly is not possible to write in a portable way today
Interesting note: it seems OWB 1.6 partialy supports the behaviour I
tend to prefer - i.e. a wildcard type is not considered an unresolvable
type variable (although it does not always infer the parameterized type
consistently).
Feel free to comment the test, issue, etc. Any feedback is appreciated.
Thanks,
Martin
[1]
https://github.com/cdi-spec/cdi/pull/277
[2]
http://lists.jboss.org/pipermail/cdi-dev/2016-February/007789.html
[3]
https://issues.jboss.org/browse/CDI-494
[4]
https://github.com/mkouba/event-wildcard-test
--
Martin Kouba
Software Engineer
Red Hat, Czech Republic
More information about the cdi-dev
mailing list