RFR: 8338544: Dedicated Array class descriptor implementation [v6]
Chen Liang
liach at openjdk.org
Wed Oct 23 04:20:49 UTC 2024
On Wed, 23 Oct 2024 04:09:37 GMT, Mandy Chung <mchung at openjdk.org> wrote:
>> Chen Liang has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Relax displayName spec
>
> src/java.base/share/classes/java/lang/constant/ClassDesc.java line 278:
>
>> 276:
>> 277: /**
>> 278: * {@return a human-readable name for this {@code ClassDesc}}
>
> Suggestion:
>
> * {@return a human-readable name for this {@code ClassDesc}}
> * For primitive types, this method returns the simple name (for example {@code int}).
> * For class or interface types, this method returns the unqualified class name.
> * For array types, this method returns the human-readable name of the component
> * type suffixed with the appropriate number of {@code []} pairs.
Oops Mandy, just noticed that I forgot to push my latest commit. Pushed and I hope you can re-review.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/20665#discussion_r1811803700
More information about the core-libs-dev
mailing list