RFR: 8345773: Class-File API debug printing capability [v4]

Adam Sotona asotona at openjdk.org
Mon Dec 9 18:09:21 UTC 2024


> Class-File API lost debug printing capability with removal of the `j.l.classfile.components.ClassPrinter` in JDK-8345343.
> This PR adds `j.l.classfile.CompoundElement::toDebugString` method to restore the capability.
> 
> Please review.
> 
> Thank you,
> Adam

Adam Sotona has updated the pull request incrementally with one additional commit since the last revision:

  Update src/java.base/share/classes/java/lang/classfile/CompoundElement.java
  
  Co-authored-by: Maurizio Cimadamore <54672762+mcimadamore at users.noreply.github.com>

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/22634/files
  - new: https://git.openjdk.org/jdk/pull/22634/files/6fdc3c43..d1f1725d

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=22634&range=03
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=22634&range=02-03

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/22634.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/22634/head:pull/22634

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


More information about the core-libs-dev mailing list