Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-2026

IllegalAccessExceptions with Byte-Buddy 1.9.2

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0-M2
    • Core
    • None

    Description

      With update of byte-buddy 1.8.0 -> 1.9.2, we intent to make Apache Isis ready for JDK 11+.

      We are utilizing byte-buddy for unit-test-support (mockery) and also for creating proxies for domain objects.

      It seems the newer version either no longer supports mockery of non public methods or requires some additional setup. Also we do see IllegalAccessExceptions when creating proxies, where byte-buddy 1.8.0 just worked fine.

      Problem background and possible solutions can be found here [1].

      [1] https://github.com/raphw/byte-buddy/issues/447

       

       

       

       

      Attachments

        Issue Links

          Activity

            People

              hobrom Andi Huber
              hobrom Andi Huber
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: