• 2.7.1 0702faf9b0

    gered released this 2017-04-19 22:57:38 -04:00 | 0 commits to master since this release

    • Fix some lingering issues with JNI code mis-casting pointers to long instead of jlong when passing back to Java code. This resolves a number of issues with constant/type classes that are initially cached by BWMirror in std::maps being returned to Java code which don't compare for equality successfully in Java code even though they are actually identical to each other.
    • Add missing BWAPI classes to generator's internal list of constant type classes so JNI code returning them treats them properly and returns a correct value (e.g. fixes UnitSizeType's being null all the time).
    • Workaround for a bug in BWAPI's Unit::getUnitsInWeaponRange method which accepts a filter predicate but does not check if the filter passed in was null before trying to use it. Since BWMirror does not support these predicate filters (yet), we now just pass in a dummy filter that ensures nothing is filtered out from the returned list.
    Downloads