You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Guillaume Nodet (Jira)" <ji...@apache.org> on 2026/03/16 05:53:00 UTC

[jira] [Resolved] (CAMEL-22555) [build] non-varargs call of varargs method with inexact argument type for last parameter

     [ https://issues.apache.org/jira/browse/CAMEL-22555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet resolved CAMEL-22555.
-------------------------------------
    Resolution: Fixed

> [build] non-varargs call of varargs method with inexact argument type for last parameter
> ----------------------------------------------------------------------------------------
>
>                 Key: CAMEL-22555
>                 URL: https://issues.apache.org/jira/browse/CAMEL-22555
>             Project: Camel
>          Issue Type: Task
>          Components: tests
>            Reporter: Pasquale Congiusti
>            Priority: Minor
>              Labels: good-first-issue, help-wanted
>             Fix For: 4.19.0
>
>
> We have plenty of this warnings, for example:
> {code}
> [WARNING] /home/jenkins/jenkins-agent/workspace/l_Camel_Core_Build_and_test_main/tooling/maven/camel-api-component-maven-plugin/target/generated-test-sources/camel-component/org/apache/camel/component/test/TestProxyIT.java:[97,37] non-varargs call of varargs method with inexact argument type for last parameter;
>   cast to java.lang.Object for a varargs call
>   cast to java.lang.Object[] for a non-varargs call and to suppress this warning
> {code}
> We should have a look and fix to clear.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)