Skip to content

Commit c9f062a

Browse files
Merge pull request #1504 from andrew-nowak/expand-max-fixedargs
Increase maximum supported fixed args on varargs calls from 3 to 255
2 parents 54fc662 + 767662a commit c9f062a

39 files changed

+61
-13
lines changed

CHANGES.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ Features
1111
Bug Fixes
1212
---------
1313
* [#1501](https://github.com/java-native-access/jna/pull/1501): `Library.OPTION_STRING_ENCODING` is ignore for string arguments function calls - [@matthiasblaesing](https://github.com/matthiasblaesing).
14+
* [#1504](https://github.com/java-native-access/jna/pull/1504): Increase maximum supported fixed args on varargs calls from 3 to 255 - [@andrew-nowak](https://github.com/andrew-nowak).
15+
16+
Important Changes
17+
-----------------
18+
* The interfaces between Java and native code have changed, so `libjnidispatch`
19+
must be rebuilt to be compatible with this release.
1420

1521
Release (5.13.0)
1622
================

build.xml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,12 @@
7575
<property name="jna.version" value="${jna.major}.${jna.minor}.${jna.revision}${version.suffix}"/>
7676
<property name="osgi.version" value="${jna.major}.${jna.minor}.${jna.revision}"/>
7777
<!-- jnidispatch library release version -->
78-
<property name="jni.major" value="6"/>
79-
<property name="jni.minor" value="1"/>
80-
<property name="jni.revision" value="6"/>
78+
<property name="jni.major" value="7"/>
79+
<property name="jni.minor" value="0"/>
80+
<property name="jni.revision" value="0"/>
8181
<property name="jni.build" value="0"/> <!--${build.number}-->
8282
<property name="jni.version" value="${jni.major}.${jni.minor}.${jni.revision}"/>
83-
<property name="jni.md5" value="147a998f0cbc89681a1ae6c0dd121629"/>
83+
<property name="jni.md5" value="5fb98531302accd485c534c452dd952a"/>
8484
<property name="spec.title" value="Java Native Access (JNA)"/>
8585
<property name="spec.vendor" value="${vendor}"/>
8686
<property name="spec.version" value="${jna.major}"/>
@@ -818,6 +818,12 @@ osname=macosx;processor=aarch64
818818
<arg value="JNIEXPORT"/>
819819
<fileset dir="${build.headers}" includes="*.h"/>
820820
</apply>
821+
<apply dir="${build.headers}" executable="${grep}" parallel="true"
822+
failonerror="${grep.required}" relative="true" output="${md5.file}"
823+
error="${md5.file}.error" append="true">
824+
<arg value="#define"/>
825+
<fileset dir="${build.headers}" includes="*.h"/>
826+
</apply>
821827
<!-- Clean up gcj javah output to match that of Sun's javah -->
822828
<fixcrlf file="${md5.file}" eol="unix"/>
823829
<replaceregexp match="^((.*\.h):JNIEXPORT[^(]+)( +\(.*)"

lib/native/aix-ppc.jar

-1 Bytes
Binary file not shown.

lib/native/aix-ppc64.jar

0 Bytes
Binary file not shown.

lib/native/android-aarch64.jar

-24 Bytes
Binary file not shown.

lib/native/android-arm.jar

-2 Bytes
Binary file not shown.

lib/native/android-armv7.jar

-2 Bytes
Binary file not shown.

lib/native/android-mips.jar

-3 Bytes
Binary file not shown.

lib/native/android-mips64.jar

-32 Bytes
Binary file not shown.

lib/native/android-x86-64.jar

-34 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)