Upgrade to JNA 5.5.0 (#58183)

This commit bumps our JNA dependency from 4.5.1 to 5.5.0, so that we are
now on the latest maintained line, and pick up a large collection of bug
fixes that have accumulated.
This commit is contained in:
Jason Tedor 2020-06-17 07:34:24 -04:00
parent b6585f2b51
commit b78b3edeea
No known key found for this signature in database
GPG Key ID: FA89F05560F16BC5
5 changed files with 4 additions and 4 deletions

View File

@ -120,7 +120,7 @@ dependencies {
compile 'com.netflix.nebula:nebula-publishing-plugin:4.4.4'
compile 'com.netflix.nebula:gradle-info-plugin:7.1.3'
compile 'org.apache.rat:apache-rat:0.11'
compile "org.elasticsearch:jna:4.5.1"
compile "org.elasticsearch:jna:5.5.0"
compile 'com.github.jengelman.gradle.plugins:shadow:5.1.0'
compile 'de.thetaphi:forbiddenapis:3.0'
compile 'com.avast.gradle:gradle-docker-compose-plugin:0.8.12'

View File

@ -18,7 +18,7 @@ log4j = 2.11.1
slf4j = 1.6.2
# when updating the JNA version, also update the version in buildSrc/build.gradle
jna = 4.5.1
jna = 5.5.0
netty = 4.1.49.Final
joda = 2.10.4

View File

@ -1 +0,0 @@
da10908ae23dc59b19dc258e63aea1c44621dc3a

View File

@ -0,0 +1 @@
ade077cbb2618a18bfc6c335413b2b7163d97601

View File

@ -58,7 +58,7 @@ public class NamedPipeHelperNoBootstrapTests extends LuceneTestCase {
private static final int ERROR_PIPE_CONNECTED = 535;
private static final Pointer INVALID_HANDLE_VALUE = Pointer.createConstant(Pointer.SIZE == 8 ? -1 : 0xFFFFFFFFL);
private static final Pointer INVALID_HANDLE_VALUE = Pointer.createConstant(Native.POINTER_SIZE == 8 ? -1 : 0xFFFFFFFFL);
static {
// Have to use JNA for Windows named pipes