RFR: 7902892: jasm incorrectly processes reference_kind:reference_index pair in ldc Dynamic instructions

Leonid Kuskov lkuskov at openjdk.java.net
Mon Apr 26 23:41:59 UTC 2021


This is the fix for https://bugs.openjdk.java.net/browse/CODETOOLS-7902892
It unifies the processing of the LDC Dynamic instruction.
jasm will parse all dynamic instructions in the same way, i.e.
the following ldc produse the same bytecode: 
  ldc Dynamic REF_invokeInterface:InterfaceMethod LdcConDyTwice."method":".....
  ldc Dynamic REF_invokeInterface:LdcConDyTwice."method":".....
  ldc Dynamic REF_invokeInterface:"method":".....

-------------

Commit messages:
 - 7902892: jasm incorrectly processes reference_kind:reference_index pair in ldc Dynamic instructions

Changes: https://git.openjdk.java.net/asmtools/pull/17/files
 Webrev: https://webrevs.openjdk.java.net/?repo=asmtools&pr=17&range=00
  Issue: https://bugs.openjdk.java.net/browse/CODETOOLS-7902892
  Stats: 79 lines in 4 files changed: 65 ins; 3 del; 11 mod
  Patch: https://git.openjdk.java.net/asmtools/pull/17.diff
  Fetch: git fetch https://git.openjdk.java.net/asmtools pull/17/head:pull/17

PR: https://git.openjdk.java.net/asmtools/pull/17


More information about the asmtools-dev mailing list