Uploaded image for project: 'TomEE'
  1. TomEE
  2. TOMEE-3795

Proxy class definition does not work in Java 17+

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 9.0.0-M7, 8.0.8
    • 8.0.9, 9.0.0-M9
    • TomEE Core Server
    • None

    Description

      Running with JDK-17, we encounter the following exception during a deployment (here with arquillian remote): https://gist.github.com/rzo1/5c1d0724a700e262a2e2824ded9f32ab

      As "--illegal-access=permit" was removed in Java 17, we need a solution to circumvent this issue.

      The aim of the ticket is to track the progress for Java 17 compatibility.

      The related mailing list discussion can be found here: 

      http://mail-archives.apache.org/mod_mbox/tomee-dev/202109.mbox/%3C79cbf0a8b4265fd6f0504d528e38ed66355eaab2.camel%40hs-heilbronn.de%3E

       

      Attachments

        Issue Links

          Activity

            People

              jgallimore Jonathan Gallimore
              rzo1 Richard Zowalla
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: