[cdi-dev] [JBoss JIRA] (CDI-415) Observer resolution doesn't specify handling of null parameter values

Martin Kouba (JIRA) issues at jboss.org
Tue Aug 30 04:40:00 EDT 2016


    [ https://issues.jboss.org/browse/CDI-415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13285775#comment-13285775 ] 

Martin Kouba commented on CDI-415:
----------------------------------

Weld throws an {{IllegalArgumentException}} which is fine IMHO. Also I don't think this requires spec text change, a javadoc update would be enough. 

> Observer resolution doesn't specify handling of null parameter values
> ---------------------------------------------------------------------
>
>                 Key: CDI-415
>                 URL: https://issues.jboss.org/browse/CDI-415
>             Project: CDI Specification Issues
>          Issue Type: Clarification
>          Components: Events
>            Reporter: Michael Kotten
>            Priority: Minor
>              Labels: F2F2016
>             Fix For: 2.0 (discussion)
>
>
> There is a gap in chapter 10.2 of the current CDI spec about [observer resolution|http://docs.jboss.org/cdi/spec/1.1/cdi-spec.html#observer_resolution]. It doesn't specify what should happen if an event gets fired using a null value. 



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the cdi-dev mailing list