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

Mandy Chung mchung at openjdk.org
Fri Jun 16 21:24:18 UTC 2023


On Fri, 16 Jun 2023 20:15:25 GMT, Roger Riggs <rriggs at openjdk.org> wrote:

>> Mandy Chung has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Clarify for an array class of primitive type
>
> src/java.base/share/classes/java/lang/Class.java line 444:
> 
>> 442:      * one or more {@code '['} followed by the binary name of the element type
>> 443:      * and {@code ';'}, the element type of the array class is loaded but
>> 444:      * not initialized.
> 
> Do arrays of primitive types need special treatment?  For example, "[I"

Thanks for catching it.  Updated.

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

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


More information about the core-libs-dev mailing list