RFR: 8261956: [type-restrictions] Support RestrictedMethod in the interpreter [v2]
Frederic Parain
fparain at openjdk.java.net
Thu Feb 18 22:13:30 UTC 2021
On Thu, 18 Feb 2021 19:58:58 GMT, Harold Seigel <hseigel at openjdk.org> wrote:
>> Frederic Parain has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Check class file version for RestrictedMethod attribute
>
> 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
Harold,
Following your suggestion, a class file version check has been added for the RestrictedMethod attribute.
Fred
-------------
PR: https://git.openjdk.java.net/valhalla/pull/341
More information about the valhalla-dev
mailing list