You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Freeman Yue Fang (Jira)" <ji...@apache.org> on 2021/09/21 15:08:00 UTC
[jira] [Commented] (CAMEL-16964) tests in camel-jclouds failed with
JDK17
[ https://issues.apache.org/jira/browse/CAMEL-16964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17418165#comment-17418165 ]
Freeman Yue Fang commented on CAMEL-16964:
------------------------------------------
There is a known issue to track it in Apache Jclouds(JCLOUDS-1402), and actually the root cause is from google guice
https://github.com/google/guice/issues/1133
And seems guice gets rid of it since 5.0.1, so until there is a jclouds version with guice fix available, we need to explicitly use add-opens in camel-jclouds test
> tests in camel-jclouds failed with JDK17
> ----------------------------------------
>
> Key: CAMEL-16964
> URL: https://issues.apache.org/jira/browse/CAMEL-16964
> Project: Camel
> Issue Type: Sub-task
> Components: camel-jclouds
> Reporter: Freeman Yue Fang
> Assignee: Freeman Yue Fang
> Priority: Major
>
> caused by
> {code}
> [ERROR] WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$2 (file:/Users/ffang/.m2/repository/com/google/inject/guice/3.0/guice-3.0.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)