RFR: 8294982: Implementation of Classfile API [v15]

Adam Sotona asotona at openjdk.org
Wed Feb 15 15:22:25 UTC 2023


On Wed, 15 Feb 2023 14:45:32 GMT, Adam Sotona <asotona at openjdk.org> wrote:

>> src/java.base/share/classes/jdk/internal/classfile/constantpool/MemberRefEntry.java line 62:
>> 
>>> 60:      * {@return whether this member is a method}
>>> 61:      */
>>> 62:     boolean isMethod();
>> 
>> this seems surprising - after all we have separate types for methods/fields.
>
> I'll look at it - if still needed or just a relic.

Yes, it is possible to remove this method completely.

-------------

PR: https://git.openjdk.org/jdk/pull/10982


More information about the core-libs-dev mailing list