RFR: 8267421: j.l.constant.DirectMethodHandleDesc.Kind.valueOf(int) implementation doesn't conform to the spec regarding REF_invokeInterface handling
Jorn Vernee
jvernee at openjdk.java.net
Wed Jun 9 11:41:14 UTC 2021
On Tue, 8 Jun 2021 16:46:36 GMT, Vicente Romero <vromero at openjdk.org> wrote:
> Please review this PR which is just syncing the implementation of DirectMethodHandleDesc.Kind.valueOf(int) with its spec. My reading of the method's spec is that if the value of the `refKind` parameter is: MethodHandleInfo.REF_invokeInterface, then DirectMethodHandleDesc.Kind.valueOf(int, boolean) should be called with a value of `true` for its second argument, currently it is invoked with `false` regardless of the value of the `refKind` parameter
>
> TIA
Looks good to me.
-------------
Marked as reviewed by jvernee (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/4416
More information about the core-libs-dev
mailing list