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

artemis-cdi-client tests dont work on Java 16+

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.18.0
    • None
    • Tests
    • None

    Description

      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)
       

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: