[cdi-dev] [JBoss JIRA] (CDI-185) BeanAttributes - incompatible changes in the API

Jozef Hartinger (Created) (JIRA) jira-events at lists.jboss.org
Mon Oct 31 12:36:45 EDT 2011

BeanAttributes - incompatible changes in the API

                 Key: CDI-185
                 URL: https://issues.jboss.org/browse/CDI-185
             Project: CDI Specification Issues
          Issue Type: Bug
          Components: Portable Extensions
         Environment: CDI API 1.1.EDR1
            Reporter: Jozef Hartinger
            Priority: Blocker
             Fix For: 1.1 (Proposed)

The CDI SPI is not backwards-compatible after CDI-96. For example:
* InjectionPoint.getBean() now returns BeanAttributes instead of Bean
* AfterBeanDiscovery.addBean() now accepts BeanAttributes instead of Bean

The spec, Javadoc for the given methods as well as the fact that these changes cause backward incompatibility indicate that they are a result of accidental batch modification and not intentional.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the cdi-dev mailing list