Integrated: JDK-8310814: Clarify the targetName parameter of Lookup::findClass
Mandy Chung
mchung at openjdk.org
Tue Jul 18 16:11:20 UTC 2023
On Mon, 26 Jun 2023 21:34:40 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.
This pull request has now been integrated.
Changeset: b4dce0d6
Author: Mandy Chung <mchung at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/b4dce0d62479c2494c02570a60319cb1a5932940
Stats: 7 lines in 1 file changed: 6 ins; 0 del; 1 mod
8310814: Clarify the targetName parameter of Lookup::findClass
Reviewed-by: liach, rriggs, bchristi
-------------
PR: https://git.openjdk.org/jdk/pull/14668
More information about the core-libs-dev
mailing list