GNOME Bugzilla – Bug 740173
JNI Version returned is 1.2 but should be at least 1.5
Last modified: 2015-02-27 16:56:53 UTC
The build script specifies that the earliest java runtime version compatible is 1.5 yet in AtkWapper.c 1_2 or above is returned.
Created attachment 290757 [details] [review] Patch to throw error if version is not found. Simply changing to JNI_VERSION_1_5 does not work so for now I am just adding a version check which fails if the version sought, is not found. I got some useful tips on that from reading through the following thread: https://community.oracle.com/thread/2337165?tstart=0 I will leave this bug open.
Created attachment 297776 [details] [review] Patch to address problem JNI_VERSION_1_6 is now used so it seems appropriate to do a minimum version check for this in configure.ac instead of 1.5.[1] [1] https://git.gnome.org/browse/java-atk-wrapper/tree/jni/src/jawutil.c#n436
Review of attachment 297776 [details] [review]: committed with https://git.gnome.org/browse/java-atk-wrapper/commit/?id=d625c15c94519e333342e3a39c8317b641170238
[Moving at-spi/java-atk-wrapper bugs to separate product. See bug 740075]