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

JOL: Rework magic field offset accessor

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: