RFR: 8311084: Add typeSymbol() API for applicable constant pool entries
Chen Liang
liach at openjdk.org
Fri Jun 30 02:28:54 UTC 2023
On Thu, 29 Jun 2023 13:26:00 GMT, Brian Goetz <briangoetz at openjdk.org> wrote:
>> src/java.base/share/classes/jdk/internal/classfile/constantpool/InvokeDynamicEntry.java line 46:
>>
>>> 44: default MethodTypeDesc typeSymbol() {
>>> 45: return Util.methodTypeSymbol(nameAndType());
>>> 46: }
>>
>> Similar comment as with CondyEntry -- reduce usage of Util::methodTypeSymbol in this class
>
> (Would like to do the same in various ::count methods, but unfortunately MemberRefEntry is too general; would have to rejigger the various XxxRefEntry types.)
Which `count` methods are you referring to, Brian?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/14706#discussion_r1247343141
More information about the core-libs-dev
mailing list