This repository was archived by the owner on Aug 31, 2021. It is now read-only.
Commit 40d4e55
committed
[[ Bug 22996 ]] Fix JNI error calling methods that trigger callbacks
This patch fixes an issue where calling a java method results in engine
callbacks that change the value of the `s_env` JNIEnv variable causing
it to be incorrect for the current thread when the method returns. The fix
restores the correct environment for the current thread.1 parent 10e79b4 commit 40d4e55
File tree
2 files changed
+6
-0
lines changed- docs/lcb/notes
- libfoundation/src
2 files changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1714 | 1714 | | |
1715 | 1715 | | |
1716 | 1716 | | |
| 1717 | + | |
| 1718 | + | |
| 1719 | + | |
| 1720 | + | |
| 1721 | + | |
1717 | 1722 | | |
1718 | 1723 | | |
1719 | 1724 | | |
| |||
0 commit comments