RFR: 8294969: Convert jdk.jdeps javap to use the Classfile API [v7]

Adam Sotona asotona at openjdk.org
Fri Jun 30 09:57:26 UTC 2023


> javap uses proprietary com.sun.tools.classfile library to parse class files.
> 
> This patch converts javap to use Classfile API.
> 
> Please review.
> 
> Thanks,
> Adam

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

  extended ClassReader about specific entry-reading methods to avoid class cast and throw ConstantPoolException instead

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/11411/files
  - new: https://git.openjdk.org/jdk/pull/11411/files/adf79feb..28ee5f35

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=11411&range=06
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=11411&range=05-06

  Stats: 176 lines in 5 files changed: 162 ins; 1 del; 13 mod
  Patch: https://git.openjdk.org/jdk/pull/11411.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/11411/head:pull/11411

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


More information about the core-libs-dev mailing list