RFR: 8332935: Crash: assert(*lastPtr != 0) failed: Mismatched JNINativeInterface tables, check for new entries
David Holmes
dholmes at openjdk.org
Thu May 30 23:48:08 UTC 2024
By using the `int*` type the assert could fail if the lower 32-bits of the function address were all zero. Trivial fix is to change to a type that is guaranteed the right size: `intptr_t*`
Testing was done manually - see the JBS issue.
Also run tier4 testing a sanity as it include `-Xcheck:jni`.
Thanks.
-------------
Commit messages:
- 8332935: Crash: assert(*lastPtr != 0) failed: Mismatched JNINativeInterface tables, check for new entries
Changes: https://git.openjdk.org/jdk/pull/19491/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=19491&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8332935
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/19491.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/19491/head:pull/19491
PR: https://git.openjdk.org/jdk/pull/19491
More information about the hotspot-dev
mailing list