Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-7014

Use new API for forward compatibility with CDI 4

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 9.12.0
    • 10.0.0-M1, 9.13.0
    • wicket-cdi
    • None

    Description

      org.apache.wicket.cdi.NonContextual uses a deprecated API BeanManager.createInjectionTarget(type). This method no longer exists in CDI 4, but the replacement is already available since CDI 1.1. The class should use:

      BeanManager.getInjectionTargetFactory(type).createInjectionTarget(null);
      

      Attachments

        Activity

          People

            papegaaij Emond Papegaaij
            papegaaij Emond Papegaaij
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: