RFR: 8261956: [type-restrictions] Support RestrictedMethod in the interpreter [v2]

Frederic Parain fparain at openjdk.java.net
Thu Feb 18 22:13:28 UTC 2021


> 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

Frederic Parain has updated the pull request incrementally with one additional commit since the last revision:

  Check class file version for RestrictedMethod attribute

-------------

Changes:
  - all: https://git.openjdk.java.net/valhalla/pull/341/files
  - new: https://git.openjdk.java.net/valhalla/pull/341/files/6b0face9..912eee2c

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=valhalla&pr=341&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=valhalla&pr=341&range=00-01

  Stats: 28 lines in 1 file changed: 16 ins; 12 del; 0 mod
  Patch: https://git.openjdk.java.net/valhalla/pull/341.diff
  Fetch: git fetch https://git.openjdk.java.net/valhalla pull/341/head:pull/341

PR: https://git.openjdk.java.net/valhalla/pull/341


More information about the valhalla-dev mailing list