Robbie Gemmell created ARTEMIS-3306:
---------------------------------------
Summary: artemis-cdi-client tests dont work on Java 16+
Key: ARTEMIS-3306
URL: https://issues.apache.org/jira/browse/ARTEMIS-3306
Project: ActiveMQ Artemis
Issue Type: Bug
Components: Tests
Reporter: Robbie Gemmell
ARTEMIS-3296 enabled the build to run on Java 16 and got the PR build passing
there. It disabled running the tests for the artemis-cdi-client module to
achieve this though.
In its current state the tests fail due to an exception from Weld seemingly
failing in attempt to make a protected method in java.lang.ClassLoader
accessible, with the JVM now preventing such behaviours by default rather than
just warning on them.
If may be possible to get this going with specific module exports, or upgrading
dependencies (though these seem to have changed)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)