On Thu, 22 Jun 2023 00:33:33 GMT, Mandy Chung <[email protected]> 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
Marked as reviewed by alanb (Reviewer).
test/jdk/java/lang/Class/forName/ForNameNames.java line 45:
> 43: Arguments.of("java.lang.String", String.class),
> 44: Arguments.of("[Ljava.lang.String;", String[].class),
> 45: Arguments.of("ForNameNames$Inner", Inner.class),
For completeness, you could add "[LForNameNames$Inner;" to this list of test
cases.
-------------
PR Review: https://git.openjdk.org/jdk/pull/14528#pullrequestreview-1493243021
PR Review Comment: https://git.openjdk.org/jdk/pull/14528#discussion_r1238557381