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/14 19:35:00 UTC
[jira] [Created] (CAMEL-16972) tests in camel-cdi failed with JDK17
Freeman Yue Fang created CAMEL-16972:
----------------------------------------
Summary: 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
{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 affects camel-archetypes-cdi/camel-itest-cdi/camel-xml-jaxb-dsl-test-cdi
--
This message was sent by Atlassian Jira
(v8.3.4#803005)