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

David Holmes dholmes at openjdk.org
Wed Jan 10 02:13:54 UTC 2024


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.

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

Commit messages:
 - 8323243: JNI invocation of an abstract instance method corrupts the stack

Changes: https://git.openjdk.org/jdk/pull/17337/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=17337&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8323243
  Stats: 151 lines in 4 files changed: 151 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/17337.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/17337/head:pull/17337

PR: https://git.openjdk.org/jdk/pull/17337


More information about the hotspot-dev mailing list