RFR: 8329955: Class-File API ClassPrinter does not print bootstrap methods arguments

Adam Sotona asotona at openjdk.org
Tue Apr 9 13:46:33 UTC 2024


Class-File API `ClassPrinter` prints many useful info about bootstrap methods and invoke dynamic instructions, however bootstrap methods arguments are missing.
This patch fixes bootstrap methods and invoke dynamic instructions printing.
`ClassPrinterTest` is extended to print bootstrap method and invoke dynamic instruction.

Please review.

Thanks,
Adam

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

Commit messages:
 - added test
 - 8329955: Class-File API ClassPrinter does not print bootstrap methods arguments

Changes: https://git.openjdk.org/jdk/pull/18695/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18695&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8329955
  Stats: 335 lines in 2 files changed: 71 ins; 0 del; 264 mod
  Patch: https://git.openjdk.org/jdk/pull/18695.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18695/head:pull/18695

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


More information about the core-libs-dev mailing list