Skip to content

Commit

Permalink
Updating JNA to support multiarch directories on Linux (#1152)
Browse files Browse the repository at this point in the history
This time keeping the Windows version the same to avoid Java crashing.
  • Loading branch information
Raptor399 committed Apr 22, 2012
1 parent 36f13ad commit b9d3223
Showing 1 changed file with 17 additions and 7 deletions.
24 changes: 17 additions & 7 deletions pom.xml
Expand Up @@ -71,6 +71,14 @@
<!-- NSIS needs a version without "-SNAPSHOT" or "-b1" -->
<project.version.short>1.51.0</project.version.short>

<!--
JNA 3.4.0 solves issue #1152, but causes a bug in Windows.
The version is therefore overruled in the Windows profile.
This property should be removed when Windows can use the
same version.
-->
<jna-version>3.4.0</jna-version>

<cuelib-version>1.2.1-2008-06-13</cuelib-version>
<jgoodies-common-version>1.2.1</jgoodies-common-version>
<jgoodies-forms-version>1.4.2</jgoodies-forms-version>
Expand Down Expand Up @@ -284,15 +292,10 @@
<version>2.0.3</version>
</dependency>

<!--
Careful about updating the JNA library, it makes Java crash when
browsing folders with files in them on Windows (reproduced with 3.4.0).
Updating would fix issue #1152, though.
-->
<dependency>
<groupId>net.java.dev.jna</groupId>
<artifactId>jna</artifactId>
<version>3.2.5</version>
<version>${jna-version}</version>
</dependency>

<!-- XXX: not Mavenized: http://www.jgoodies.com/downloads/libraries.html -->
Expand Down Expand Up @@ -876,7 +879,14 @@
<family>windows</family>
</os>
</activation>


<properties>
<!--
Last known JNA version known not to cause a Java crash
when browsing folders with files in them on Windows.
-->
<jna-version>3.2.5</jna-version>
</properties>

<pluginRepositories>
<pluginRepository>
Expand Down

0 comments on commit b9d3223

Please sign in to comment.