Uploaded image for project: 'CDI Specification Issues'
  1. CDI Specification Issues
  2. CDI-185

BeanAttributes - incompatible changes in the API

    Details

    • Affects:
      Release Notes

      Description

      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.

        Gliffy Diagrams

          Activity

          Hide
          jharting Jozef Hartinger added a comment -
          Show
          jharting Jozef Hartinger added a comment - Fix https://github.com/jboss/cdi/pull/56

            People

            • Assignee:
              jharting Jozef Hartinger
              Reporter:
              jharting Jozef Hartinger
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development