RFR: 8311084: Add typeSymbol() API for applicable constant pool entries [v2]
Chen Liang
liach at openjdk.org
Fri Jun 30 02:42:08 UTC 2023
> 5 Constant Pool entries, namely ConstantDynamicEntry, InvokeDynamicEntry, FieldRefEntry, MethodRefEntry, and InterfaceMethodRefEntry should have a typeSymbol() API to return the nominal/symbolic descriptor (ClassDesc or MethodTypeDesc).
>
> This API is not added to NameAndTypeEntry itself, for a NameAndTypeEntry only knows if its type should be a field or method type from the other entries that refer to it.
>
> This is one of the issues discussed in this mailing list thread: https://mail.openjdk.org/pipermail/classfile-api-dev/2023-June/000381.html
Chen Liang has updated the pull request incrementally with one additional commit since the last revision:
Use typeSymbol in asSymbol
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/14706/files
- new: https://git.openjdk.org/jdk/pull/14706/files/d2701993..3ae616ef
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=14706&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=14706&range=00-01
Stats: 2 lines in 2 files changed: 0 ins; 0 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/14706.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/14706/head:pull/14706
PR: https://git.openjdk.org/jdk/pull/14706
More information about the core-libs-dev
mailing list