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

Mandy Chung mchung at openjdk.org
Fri Jun 16 21:33:44 UTC 2023


On Fri, 16 Jun 2023 21:23:17 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 448:
> 
>> 446:      * <p> To find an array class of a primitive type, the name string
>> 447:      * consists of one or more {@code '['} followed by the field type descriptor
>> 448:      * of the primitive type (JVMS {@jvms 4.3.2 }) e.g. {@code "[I"} to
> 
> Can we avoid mixing "i.e." and "e.g"?
> There are more "For example" occurrences than either "i.e." or "e.g." 
> Your call.

ok.  is the revised version better?

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

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


More information about the core-libs-dev mailing list