]
Pete Muir commented on CDI-281:
-------------------------------
CDI EG agree here.
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: