Thomas Hepp created WW-5346:
-------------------------------
Summary: 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
Fix For: 6.4.0
{{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)