[OpenJDK 2D-Dev] RFR: 8264047: Duplicate global variable 'jvm' in libjavajpeg and libawt

Sergey Bylokhov serb at openjdk.java.net
Sat Mar 27 01:12:26 UTC 2021


On Sat, 27 Mar 2021 00:57:34 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

> Probably it will be easy to remove this "jvm" variable in the jpeg library? Looks like it is used to call JNU_GetEnv, but the JNIEnv could be accessed from the first parameter of the jni method.

Seems these methods are used as callbacks...

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

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


More information about the 2d-dev mailing list