[cdi-dev] [JBoss JIRA] (CDI-281) ObserverMethod.notify() breaks backwards compatibility

Pete Muir (JIRA) jira-events at lists.jboss.org
Thu Jan 17 13:11:21 EST 2013

     [ https://issues.jboss.org/browse/CDI-281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pete Muir resolved CDI-281.

    Resolution: Done

> ObserverMethod.notify() breaks backwards compatibility
> ------------------------------------------------------
>                 Key: CDI-281
>                 URL: https://issues.jboss.org/browse/CDI-281
>             Project: CDI Specification Issues
>          Issue Type: Bug
>          Components: Events
>    Affects Versions: 1.1.EDR
>            Reporter: Jozef Hartinger
>            Assignee: Pete Muir
>            Priority: Blocker
>             Fix For: 1.1.PFD
> ObserverMethod.notify(T event, Set<Annotation> qualifiers) has been added post CDI 1.0 as part of CDI-36.
> The added method breaks backwards compatibility (an existing 1.0 Extension may be registering an ObserverMethod implementation that would not implement that method, since it is not part of the 1.0 API).
> We should probably isolate that method into a subinterface e.g.:
> {code:JAVA}
> public interface CuriousObserverMethod<T> extends ObservetMethod<T> {
>    void notify(T event, Set<Annotation> qualifiers);
> }
> {code}

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

More information about the cdi-dev mailing list