On Fri, 30 Jun 2023 02:42:08 GMT, Chen Liang <li...@openjdk.org> wrote:
>> 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 @asotona Can you review this Classfile API utility addition? ------------- PR Comment: https://git.openjdk.org/jdk/pull/14706#issuecomment-1727129377