Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We need to use NewGloblRef when caching jclass instances (#9595)
Motivation: It is not safe to cache a jclass without obtaining a global reference via NewGlobalRef. Modifications: Correctly use NewGlobalRef(...) before caching Result: Correctly cache jclass instance
- Loading branch information
1 parent
4499384
commit dc4de7f
Showing
1 changed file
with
12 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters