[
https://jira.jboss.org/browse/WELD-699?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pete Muir updated WELD-699:
---------------------------
Fix Version/s: 1.1.0.Beta2
Priority: Critical (was: Major)
> CDI API regression: Observes.notifyObserver has been changed to
> Observes.receive
> --------------------------------------------------------------------------------
>
> Key: WELD-699
> URL: https://jira.jboss.org/browse/WELD-699
> Project: Weld
> Issue Type: Bug
> Components: CDI API
> Affects Versions: 1.1.0.Beta1
> Reporter: Sivakumar Thyagarajan
> Priority: Critical
> Fix For: 1.1.0.Beta2
>
>
> In the Weld 1.1 Beta 1 release, the @Observes API has an annotation element
> changed. This is an incompatible API change and would break existing clients.
> -- The original API for @Observes --
> public interface javax.enterprise.event.Observes extends
> java.lang.annotation.Annotation{
> public abstract javax.enterprise.event.Reception notifyObserver();
> public abstract javax.enterprise.event.TransactionPhase during();
> }
> -- The original API for @Observes --
> and now it is:
> -- The new API for @Observes --
> public interface javax.enterprise.event.Observes extends
> java.lang.annotation.Annotation{
> public abstract javax.enterprise.event.Reception receive();
> public abstract javax.enterprise.event.TransactionPhase during();
> }
> -- The new API for @Observes --
> Notice the renaming of "notifyObserver" to "receive". The original name for
> the annotation element "notifyObserver" has been published earlier as part of
> Java EE 6 javadoc [1]. However in the JSR 299 specification, the annotation
> element is referred to as "receives" (See Section 10.4.3) and hence I think
> this have been renamed as part of WELD-455 [2].
> Please revert this change in API.
> [1]
> http://download.oracle.com/javaee/6/api/javax/enterprise/event/Observes.html#notifyObserver()
> [2] https://jira.jboss.org/browse/WELD-455
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
weld-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/weld-issues