You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Emond Papegaaij (Jira)" <ji...@apache.org> on 2022/11/11 12:17:00 UTC
[jira] [Assigned] (WICKET-7014) Use new API for forward compatibility with CDI 4
[ https://issues.apache.org/jira/browse/WICKET-7014?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emond Papegaaij reassigned WICKET-7014:
---------------------------------------
Assignee: Emond Papegaaij
> Use new API for forward compatibility with CDI 4
> ------------------------------------------------
>
> Key: WICKET-7014
> URL: https://issues.apache.org/jira/browse/WICKET-7014
> Project: Wicket
> Issue Type: Improvement
> Components: wicket-cdi
> Affects Versions: 9.12.0
> Reporter: Emond Papegaaij
> Assignee: Emond Papegaaij
> Priority: Major
>
> {{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:
> {code}
> BeanManager.getInjectionTargetFactory(type).createInjectionTarget(null);
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)