RFR: 8309819: Clarify API note in Class::getName and MethodType::toMethodDescriptorString [v6]

Mandy Chung mchung at openjdk.org
Mon Jun 26 22:36:14 UTC 2023


On Mon, 26 Jun 2023 22:30:20 GMT, Chen Liang <liach at openjdk.org> wrote:

>> Why can't just say "identical descriptor strings"?   It's unclear what "component descriptor" is.
>
> "component descriptor" tried to refer to both parameter types and return type descriptors. How about "produce identical class descriptors in method descriptors?"

`MethodType::descriptorString` refers to method descriptor and `Class::descriptorString` refers to class descriptor.   I don't think it helps to say "produce identical class descriptors in method descriptors".

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

PR Review Comment: https://git.openjdk.org/jdk/pull/14411#discussion_r1242882072


More information about the core-libs-dev mailing list