You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/11/11 12:18:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17632295#comment-17632295 ] 

ASF subversion and git services commented on WICKET-7014:
---------------------------------------------------------

Commit a41aa15f44d2e05a789f62980bec518e85aef797 in wicket's branch refs/heads/wicket-9.x from Emond Papegaaij
[ https://gitbox.apache.org/repos/asf?p=wicket.git;h=a41aa15f44 ]

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
>
> {{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)