RFR: 8275809: crash in [CommonComponentAccessibility getCAccessible:withEnv:]

Anton Tarasov ant at openjdk.java.net
Fri Oct 22 16:55:19 UTC 2021


Adding a JNI weak ref check. There's a couple of other similar places in the code where a JNI weak ref is checked for null, in the rest of the code we pass such refs to java where they are checked for null. So, I was not able to eye catch any other similar place in the a11y code where such check is also required.

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

Commit messages:
 - 8275809: crash in [CommonComponentAccessibility getCAccessible:withEnv:]

Changes: https://git.openjdk.java.net/jdk/pull/6083/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=6083&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8275809
  Stats: 22 lines in 1 file changed: 7 ins; 5 del; 10 mod
  Patch: https://git.openjdk.java.net/jdk/pull/6083.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/6083/head:pull/6083

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



More information about the client-libs-dev mailing list