Seems fine. Is it DeleteLocalRef that crashes or does the crash happen
later because
it some how deleted the global ref ? I'd expect it to know the difference
between a local ref and a global ref but perhaps it does not ...
-phil.
On 9/22/2014 8:29 AM, Sergey Bylokhov wrote:
Hello.
Please review the fix for jdk 9. The problem is that we call
DeleteLocalRef() on the cached global reference returned by
JNU_ClassString(env).
Bug: https://bugs.openjdk.java.net/browse/JDK-8058858
Webrev can be found at:
http://cr.openjdk.java.net/~serb/8058858/webrev.00