> The method ckAssertReturnValueOK will invoke ckAssertReturnValueOK2 which > makes multiple calls to JNI functions, such as FindClass or GetMethodID. > These calls would be unsafe as there may be a pending exception at this time. > So adding exception check to return immediately and do not call any further > JNI functions when there is exception pending.
Koushik Muthukrishnan Thirupattur has updated the pull request incrementally with one additional commit since the last revision: 8367024: Addressing review comments ------------- Changes: - all: https://git.openjdk.org/jdk/pull/29054/files - new: https://git.openjdk.org/jdk/pull/29054/files/c0eba306..d65d64a5 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=29054&range=02 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=29054&range=01-02 Stats: 1 line in 1 file changed: 0 ins; 1 del; 0 mod Patch: https://git.openjdk.org/jdk/pull/29054.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/29054/head:pull/29054 PR: https://git.openjdk.org/jdk/pull/29054
