RFR: 8307818: Convert Indify tool to Classfile API [v12]

Oussama Louati duke at openjdk.org
Sat Jun 22 09:32:37 UTC 2024


> An indify tool in j.l.i tests (also in vmTestBase) convert some source-code private static methods with MT_ MH_, and INDY_ prefixes into MethodHandle, MethodType, and CallSite constants.
> It currently uses ad-hoc code to process class files and intends to migrate to ASM; but since we have the Classfile API, we can migrate to Classfile API instead.

Oussama Louati has updated the pull request incrementally with eight additional commits since the last revision:

 - fix: work done
 - fix: work in progress
 - fix: one pass transformation per method
 - fix: one pass transformation per method
 - fix: one pass transformation per method
 - fix: fixing
 - commit before disaster
 - fix: remove adding NOPS into method instruction

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/18841/files
  - new: https://git.openjdk.org/jdk/pull/18841/files/f869cce8..7e928ced

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=18841&range=11
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=18841&range=10-11

  Stats: 112 lines in 1 file changed: 15 ins; 53 del; 44 mod
  Patch: https://git.openjdk.org/jdk/pull/18841.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18841/head:pull/18841

PR: https://git.openjdk.org/jdk/pull/18841


More information about the core-libs-dev mailing list