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

Pete Muir (JIRA) jira-events at lists.jboss.org
Tue Oct 30 13:09:01 EDT 2012


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

Pete Muir updated CDI-281:
--------------------------

    Priority: Blocker  (was: Major)

    
> 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: Jozef Hartinger
>            Priority: Blocker
>             Fix For: 1.1 (Proposed)
>
>
> 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