RFR: 8264918: [JVMCI] getVtableIndexForInterfaceMethod doesn't check that type and method are related

Vladimir Ivanov vlivanov at openjdk.java.net
Thu Apr 8 13:02:36 UTC 2021


getVtableIndexForInterfaceMethod should reject the case when a resolved class doesn't implement the holder interface.

Testing:
- [x] hs-tier1 - hs-tier4

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

Commit messages:
 - getVtableIndexForInterfaceMethod

Changes: https://git.openjdk.java.net/jdk/pull/3396/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3396&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8264918
  Stats: 11 lines in 2 files changed: 6 ins; 0 del; 5 mod
  Patch: https://git.openjdk.java.net/jdk/pull/3396.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/3396/head:pull/3396

PR: https://git.openjdk.java.net/jdk/pull/3396


More information about the hotspot-compiler-dev mailing list