Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-5346

CDI Plugin: Replace deprecated BeanManager::createInjectionTarget

    XMLWordPrintableJSON

Details

    Description

      BeanManager::createInjectionTarget has been deprecated in CDI 1.1 and was removed in CDI 4.0 , making for a hard incompatability with Jakarta EE 10 (the only one in the CDI Plugin, all that's left is the package names).

      BeanManager::createInjectionTarget should be replaced with the recommended alternative BeanManager::getInjectionTargetFactory and InjectionTargetFactory::createInjectionTarget.

      PR on GitHub: https://github.com/apache/struts/pull/754

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              hepptho Thomas Hepp
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h