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

Chen Liang liach at openjdk.org
Mon Jun 26 22:33:10 UTC 2023


On Mon, 26 Jun 2023 22:27:57 GMT, Mandy Chung <mchung at openjdk.org> wrote:

>> * Two distinct classes which share a common name but have different class loaders
>>      * produce identical component descriptors in descriptor strings.
>> 
>> Does this sound good? This also addresses alan's wording concerns.
>
> 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?"

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

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


More information about the core-libs-dev mailing list