On Sat, 17 Jun 2023 00:35:22 GMT, Mandy Chung <mch...@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:
> 
>   missing 'L' for the array class name

This changes look okay but they do make me wonder if we should add a note to 
the 2-arg Class.forName to make it clear that it does not allow class names for 
array types, the class name has to be a binary name.

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

Marked as reviewed by alanb (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/14528#pullrequestreview-1484828693

Reply via email to