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

Doug Simon dnsimon at openjdk.java.net
Thu Apr 8 19:00:08 UTC 2021


On Thu, 8 Apr 2021 15:17:28 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

>> getVtableIndexForInterfaceMethod should reject the case when a resolved class doesn't implement the holder interface.
>> 
>> Testing:
>> - [x] hs-tier1 - hs-tier4
>
> Good.
> It needs review from Graal team.

The changes look good to me.
How did you discover this problem? If the detail is in https://bugs.openjdk.java.net/browse/JDK-8264918, I can wait until the JBS server comes back up.

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

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


More information about the hotspot-compiler-dev mailing list