Skip to content

Commit a40cd9f

Browse files
committed
upgrade jna from 4.5.2 -> 5.1.0
1 parent 48c9d63 commit a40cd9f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>jbwapi</groupId>
88
<artifactId>jbwapi</artifactId>
9-
<version>0.2.1</version>
9+
<version>0.3</version>
1010

1111
<properties>
1212
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@@ -49,14 +49,14 @@
4949
<dependency>
5050
<groupId>net.java.dev.jna</groupId>
5151
<artifactId>jna</artifactId>
52-
<version>4.5.2</version>
52+
<version>5.1.0</version>
5353
</dependency>
5454

5555
<!-- https://mvnrepository.com/artifact/net.java.dev.jna/jna-platform -->
5656
<dependency>
5757
<groupId>net.java.dev.jna</groupId>
5858
<artifactId>jna-platform</artifactId>
59-
<version>4.5.2</version>
59+
<version>5.1.0</version>
6060
</dependency>
6161

6262
<!-- https://mvnrepository.com/artifact/junit/junit -->

src/main/java/bwapi/Client.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public void update(final EventHandler handler) throws Exception {
9797
}
9898

9999
interface MappingKernel extends Kernel32 {
100-
MappingKernel INSTANCE = Native.loadLibrary(MappingKernel.class, W32APIOptions.DEFAULT_OPTIONS);
100+
MappingKernel INSTANCE = Native.load(MappingKernel.class, W32APIOptions.DEFAULT_OPTIONS);
101101

102102
HANDLE OpenFileMapping(int desiredAccess, boolean inherit, String name);
103103
}

0 commit comments

Comments
 (0)