You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (Jira)" <ji...@apache.org> on 2023/09/26 11:21:00 UTC
[jira] [Resolved] (WW-5346) CDI Plugin: Replace deprecated BeanManager::createInjectionTarget
[ https://issues.apache.org/jira/browse/WW-5346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukasz Lenart resolved WW-5346.
-------------------------------
Resolution: Fixed
> CDI Plugin: Replace deprecated BeanManager::createInjectionTarget
> ------------------------------------------------------------------
>
> Key: WW-5346
> URL: https://issues.apache.org/jira/browse/WW-5346
> Project: Struts 2
> Issue Type: Improvement
> Components: Plugin - CDI
> Affects Versions: 6.3.0
> Reporter: Thomas Hepp
> Priority: Minor
> Labels: pull-request-available
> Fix For: 6.4.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> {{BeanManager::createInjectionTarget}} has been deprecated in CDI 1.1 and was removed in [CDI 4.0|https://jakarta.ee/specifications/cdi/4.0/jakarta-cdi-spec-4.0.html] , 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]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)