RFR: 8310242: Clarify the name parameter to Class::forName [v3]

Mandy Chung mchung at openjdk.org
Sat Jun 17 00:35:26 UTC 2023


On Fri, 16 Jun 2023 23:18:48 GMT, Chen Liang <liach at openjdk.org> wrote:

>> Mandy Chung has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   review comment
>
> src/java.base/share/classes/java/lang/Class.java line 443:
> 
>> 441:      * <p> If {@code name} denotes an array class whose element type
>> 442:      * is a class or interface, the name consists of one or more {@code '['}
>> 443:      * followed by the binary name of the element type and {@code ';'},
> 
> There's an L between [ and component binary name, like [Ljava.lang.Object;

Updated.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/14528#discussion_r1232894754


More information about the core-libs-dev mailing list