RFR: 8261956: [type-restrictions] Support RestrictedMethod in the interpreter
Harold Seigel
hseigel at openjdk.java.net
Thu Feb 18 20:02:02 UTC 2021
On Thu, 18 Feb 2021 14:26:29 GMT, Frederic Parain <fparain at openjdk.org> wrote:
> Please review these changes adding support for RestrictedMethod in the interpreter.
> Types restrictions are enforced in the following bytecodes:
> - invokevirtual
> - invokestatic
> - invokespecial
> - invokeinterface
>
> The changeset also includes a small fix to prevent previous type restrictions related tests to fail.
>
> Thank you,
>
> Fred
Hi Fred,
Maybe move the classFileParser.cpp code, that checks for the restricted_method attribute, inside of an "if (_major_version >= JAVA_17_VERSION)" conditional?
Thanks, Harold
-------------
PR: https://git.openjdk.java.net/valhalla/pull/341
More information about the valhalla-dev
mailing list