RFR: 8294969: Convert jdk.jdeps javap to use the Classfile API [v14]
Adam Sotona
asotona at openjdk.org
Thu Sep 14 20:14:33 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 with a new target base due to a merge or a rebase. The pull request now contains 233 commits:
- reducing ClassReader API footprint
- fixed ConstantWriter
- Merge branch 'master' into JDK-8294969
# Conflicts:
# src/java.base/share/classes/jdk/internal/classfile/impl/ClassReaderImpl.java
- applied suggested changes from review
- minor patches
- Merge branch 'master' into JDK-8294969
- Merge branch 'master' into JDK-8294969-javap
- Merge branch 'master' into JDK-8294969-javap
- fixed code printing and ConstantPoolException reporting indoex
- added DydnamicConstantPoolEntry::bootstrapMethodIndex
fix of javap ConstantWriter to print DynamicConstantPoolEntry without accessing BSM attribute
- ... and 223 more: https://git.openjdk.org/jdk/compare/b2e91060...938571fc
-------------
Changes: https://git.openjdk.org/jdk/pull/11411/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=11411&range=13
Stats: 3756 lines in 29 files changed: 919 ins; 1778 del; 1059 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 compiler-dev
mailing list