RFR: JDK-8310814: Clarify the targetName parameter of Lookup::findClass [v2]
Chen Liang
liach at openjdk.org
Thu Jun 29 01:47:53 UTC 2023
On Mon, 26 Jun 2023 23:13:19 GMT, Mandy Chung <mchung at openjdk.org> wrote:
>> This PR updates the spec of `Lookup::findClass` to reflect the current behavior that requires a binary name or a string representing an array class in the form as returned by `Class::getName`.
>>
>> `test/jdk/java/lang/invoke/accessClassAndFindClass/TestFindClass.java` already covers the test cases of a nested class and an array class.
>
> Mandy Chung has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains one commit:
>
> 8310833: Clarify the targetName parameter of Lookup::findClass
A nice correction and followup of `Class::forName` spec update.
-------------
Marked as reviewed by liach (Author).
PR Review: https://git.openjdk.org/jdk/pull/14668#pullrequestreview-1504443389
More information about the core-libs-dev
mailing list