RFR: 8310242: Clarify the name parameter to Class::forName [v7]
David Holmes
dholmes at openjdk.org
Thu Jun 22 02:12:06 UTC 2023
On Thu, 22 Jun 2023 00:33:33 GMT, Mandy Chung <mchung at openjdk.org> wrote:
>> This PR clarifies the spec of the 3-arg Class::forName regarding the format of the name for an array type which is of the form: one or more of "[" + binary name of the element type + ";'.
>
> Mandy Chung has updated the pull request incrementally with one additional commit since the last revision:
>
> review comments
src/java.base/share/classes/java/lang/Class.java line 442:
> 440: * whose name is {@code I} instead.
> 441: *
> 442: * <p> To obtain {@code Class} object associated with an array class,
To obtain _the_ Class object ...
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/14528#discussion_r1237907917
More information about the core-libs-dev
mailing list