[
https://issues.apache.org/jira/browse/WICKET-7014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17686067#comment-17686067
]
ASF subversion and git services commented on WICKET-7014:
---------------------------------------------------------
Commit 3e0d16ccbcd4df4340c12339e1319cdd4f9849fc in wicket's branch
refs/heads/remove-queuing from Emond Papegaaij
[ https://gitbox.apache.org/repos/asf?p=wicket.git;h=3e0d16ccbc ]
WICKET-7014: use CDI 1.1 API to create InjectionTarget
> 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
> Fix For: 10.0.0, 9.13.0
>
>
> {{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)