OSDN Git Service

Support for Java Access Bridge 2.02 (including for 64 bit JVMs). Hopefully does not...
authorMichael Curran <mick@kulgan.net>
Thu, 4 Aug 2011 05:01:17 +0000 (15:01 +1000)
committerMichael Curran <mick@kulgan.net>
Thu, 4 Aug 2011 05:01:17 +0000 (15:01 +1000)
commit206f10e9e819d8ae4430e846cbb24c6a6521a300
treea72ccbecabb8ce09c5ff7037986a4b2c6eb9d391
parent2056c11523bfdc5d8bfe384c8d2000ff91f12fe2
Support for Java Access Bridge 2.02 (including for 64 bit JVMs). Hopefully does not break older Java Access Bridge versions.
Specific changes:
* Rather than loading windowsAccessBridge.dll in initialize, load either windowsAccessBridge-32 or windowsAccessBridge at the top of JABHandler, and take note of which one worked (whether we're using legacy or not).
* Rewrite defines of all structs, types and function prototypes using java-specific types (jint, JOBJECT64) and make sure that JOBJECT64 is 64 bit for the new java access bridge and 32 bit for legacy.
* Don't ever handle JOBJECT64 as an int, but instead always an opaque type.
source/JABHandler.py