RFR: JDK-8310814: Clarify the targetName parameter of Lookup::findClass [v2]
Mandy Chung
mchung at openjdk.org
Mon Jun 26 23:13:19 UTC 2023
> 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
-------------
Changes: https://git.openjdk.org/jdk/pull/14668/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=14668&range=01
Stats: 7 lines in 1 file changed: 6 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/14668.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/14668/head:pull/14668
PR: https://git.openjdk.org/jdk/pull/14668
More information about the core-libs-dev
mailing list