RFR: 8299505: findVirtual on array classes incorrectly restricts the receiver type [v2]
Chen Liang
liach at openjdk.org
Wed May 31 01:40:22 UTC 2023
On Tue, 30 May 2023 23:39:52 GMT, Mandy Chung <mchung at openjdk.org> wrote:
>> test/jdk/java/lang/invoke/findVirtual/FindVirtualArrayCloneTest.java line 28:
>>
>>> 26: * @bug 8299505
>>> 27: * @run junit FindVirtualArrayCloneTest
>>> 28: * @summary Ensures Arrays' clone doesn't have incorrect receiver type bound
>>
>> Suggestion:
>>
>> * @summary Test invocation of Object.clone for arrays
>
> Can you add test cases to verify that the invocation of `Object.clone` returns an array object with correct content for completeness?
I've done the requested changes and ran the invoke tests locally.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/13855#discussion_r1210991713
More information about the core-libs-dev
mailing list