You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2022/01/12 06:48:00 UTC
[jira] [Resolved] (CAMEL-16972) tests in camel-cdi failed with JDK17
[ https://issues.apache.org/jira/browse/CAMEL-16972?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-16972.
---------------------------------
Fix Version/s: 3.15.0
Resolution: Fixed
> tests in camel-cdi failed with JDK17
> ------------------------------------
>
> Key: CAMEL-16972
> URL: https://issues.apache.org/jira/browse/CAMEL-16972
> Project: Camel
> Issue Type: Sub-task
> Components: camel-cdi
> Reporter: Freeman Yue Fang
> Assignee: Freeman Yue Fang
> Priority: Major
> Fix For: 3.15.0
>
>
> {code}
> Caused by: java.lang.IllegalAccessException: class org.jboss.weld.util.bytecode.ClassFileUtils cannot access a member of class java.lang.ClassLoader (in module java.base) with modifiers "protected final"
> at java.base/jdk.internal.reflect.Reflection.newIllegalAccessException(Reflection.java:392)
> at java.base/java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:674)
> at java.base/java.lang.reflect.Method.invoke(Method.java:560)
> at org.jboss.weld.util.bytecode.ClassFileUtils.toClass2(ClassFileUtils.java:165)
> at org.jboss.weld.util.bytecode.ClassFileUtils.toClass(ClassFileUtils.java:134)
> ... 11 more
> {code}
> And this also affects camel-archetypes-cdi/camel-itest-cdi/camel-xml-jaxb-dsl-test-cdi
--
This message was sent by Atlassian Jira
(v8.20.1#820001)