[
https://issues.apache.org/jira/browse/WW-5346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thomas Hepp updated WW-5346:
----------------------------
Description:
{{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]
was:
{{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
> 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
>
>
> {{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)