RFR: 7902800: jasm incorrectly calculates ldc index in certain cases

Leonid Kuskov lkuskov at openjdk.java.net
Thu Dec 3 02:25:02 UTC 2020


This is the fix for https://bugs.openjdk.java.net/browse/CODETOOLS-7902800
It suppresses a change of an index of the constant in the constant pool 
used by ldc instruction to a value  greater than 256.

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

Commit messages:
 - 7902800: jasm incorrectly calculates ldc index in certain cases
 - 7902688: Asmtools support for JEP 360: changing the name from SealedTypes to SealedClasses
 - 7902686: Jasm incorrectly sets up the SourceFile attribute on Windows platform
 - 7902681: Asmtools build fails if Default Java File Encoding is set to ASCII
 - Merge branch 'CODETOOLS-7902659'
 - 7902659: Correct unconditional call of System.exit in printVersion (Main.java)
 - Merge branch 'CODETOOLS-7902660'
 - 7902660: jdis includes unnecessary Field references in MethodHandle parameters while printing static params of a bsm and skips the method tag in ldc# instructions

Changes: https://git.openjdk.java.net/asmtools/pull/12/files
 Webrev: https://webrevs.openjdk.java.net/?repo=asmtools&pr=12&range=00
  Issue: https://bugs.openjdk.java.net/browse/CODETOOLS-7902800
  Stats: 294 lines in 18 files changed: 110 ins; 119 del; 65 mod
  Patch: https://git.openjdk.java.net/asmtools/pull/12.diff
  Fetch: git fetch https://git.openjdk.java.net/asmtools pull/12/head:pull/12

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


More information about the asmtools-dev mailing list