> 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 with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains four additional commits since the last revision: - Merge branch 'master' into feature/cpentry-typesym - Merge branch 'master' of https://github.com/openjdk/jdk into feature/cpentry-typesym - Use typeSymbol in asSymbol - Add typeSymbol API for a few constant pool entries ------------- Changes: - all: https://git.openjdk.org/jdk/pull/14706/files - new: https://git.openjdk.org/jdk/pull/14706/files/3ae616ef..dd288733 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=14706&range=02 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=14706&range=01-02 Stats: 249978 lines in 5218 files changed: 100290 ins; 97603 del; 52085 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