RFR: 8323243: JNI invocation of an abstract instance method corrupts the stack

Aleksey Shipilev shade at openjdk.org
Wed Jan 10 15:28:21 UTC 2024


On Wed, 10 Jan 2024 02:08:10 GMT, David Holmes <dholmes at openjdk.org> wrote:

> See JBS for details.
> 
> TL;DR - if an instance method is abstract then JNI front-end should throw AbstractMethodError.
> 
> Testing:
>   - new regression test
>   -  tiers 1-3 (sanity)
> 
> Thanks.

Ouch. Looks good, with minor test suggestion.

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

Marked as reviewed by shade (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/17337#pullrequestreview-1813487173


More information about the hotspot-runtime-dev mailing list