[lworld] RFR: 8247569: [lworld] Align with spec for <vnew> methods
David Simms
dsimms at openjdk.org
Wed Oct 19 08:35:18 UTC 2022
On Tue, 18 Oct 2022 17:01:57 GMT, Mandy Chung <mchung at openjdk.org> wrote:
>> Merged javac and VM work together, includes VM support (JDK-8294224)
>
> src/java.base/share/classes/java/lang/invoke/MemberName.java line 527:
>
>> 525: }
>> 526: /** Query whether this member is a constructor. */
>> 527: boolean isConstructor(String name) {
>
> `findConstructor` only finds `<init>`. To get `<vnew>` method handle, it just uses `Lookup::findStatic` as it's a static method. This `isConstructor` method would cause confusion. I can clean this up as a follow-up.
Thank you
-------------
PR: https://git.openjdk.org/valhalla/pull/788
More information about the valhalla-dev
mailing list