Uploaded image for project: 'Isis'
  1. Isis
  2. ISIS-2026

IllegalAccessExceptions with Byte-Buddy 1.9.2

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0-M2
    • Component/s: Core
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: