Emond Papegaaij created WICKET-7014:
---------------------------------------
Summary: 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
{{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)