RFR: 8294969: Convert jdk.jdeps javap to use the Classfile API [v10]
Adam Sotona
asotona at openjdk.org
Mon Jul 17 13:32:48 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 226 commits:
- 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
- extended ClassReader about specific entry-reading methods to avoid class cast and throw ConstantPoolException instead
- throwing ConstantPoolException for invalid BSM entry index
- Merge branch 'master' into JDK-8294969-javap
- fixed JavapTask
- Merge branch 'master' into JDK-8294969-javap
- Merge branch 'master' into JDK-8294969-javap
# Conflicts:
# src/java.base/share/classes/jdk/internal/classfile/constantpool/ConstantPoolException.java
- fixed build
- ... and 216 more: https://git.openjdk.org/jdk/compare/3fb9d117...b63758dd
-------------
Changes: https://git.openjdk.org/jdk/pull/11411/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=11411&range=09
Stats: 3830 lines in 29 files changed: 1001 ins; 1701 del; 1128 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