Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-3410

Karaf client integration tests dont work on Java 16+

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Reopened
    • Major
    • Resolution: Unresolved
    • 2.18.0, 2.23.1
    • None
    • Tests
    • None

    Description

      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 do now, 828d4940 ). 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+.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              robbie Robbie Gemmell
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: