Robbie Gemmell created ARTEMIS-3410:
---------------------------------------

             Summary: Karaf client integration tests dont work on Java 16+
                 Key: ARTEMIS-3410
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3410
             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. The karaf integration tests didnt even run on Java 11 at the time (but 
do now, ARTEMIS-3407), and didnt run as part of the PR build, but may soon. 
They will be disabled on Java 16+ until they can be made to work.

In their current state the tests look to fail due to the [test] framework(s) 
themselves reflectively accessing elements in modules now protected by the JDK 
by default. Newer framework bits that dont do this, or relevant 'add opens' etc 
config to permit it will beneeded to address this. For the latter this looks 
different than other tests as it will presumably need done in the framework 
config within the tests themselves, not in the surefire/failsafe plugin config 
in the pom. Work is needed to see what can be done to get the tests running on 
Java 16+.




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to