Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7902931

JOL: Rework magic field offset accessor

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • None
    • None
    • tools
    • None
    • jol

    Description

      There is a report that current trampoline code introduced by CODETOOLS-7902718 causes split packages failures when used on module path:
        https://mail.openjdk.java.net/pipermail/jol-dev/2021-April/000340.html

      Additionally, this code does not even work for Record introspection with current JDK 17 EA: the private defineClass is not accessible anymore.

      At this point, the only remaining thing left: hack through AccessibleObject overrides. Since this option is dangerous, it should be opt-in, disabled by default.

      Attachments

        Issue Links

          Activity

            People

              shade Aleksey Shipilev
              shade Aleksey Shipilev
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: