From c8d470f1909712c1e25260c2c120b32879519d73 Mon Sep 17 00:00:00 2001 From: Martijn van Groningen Date: Mon, 6 Feb 2017 12:38:51 +0100 Subject: [PATCH] Change `org.elasticsearch.bootstrap.JNAKernel32Library$SizeT` constructor's modifier to public. Otherwise `NativeMappedConverter` can't construct this class. Closes #22991 --- buildSrc/src/main/resources/checkstyle_suppressions.xml | 1 + .../java/org/elasticsearch/bootstrap/JNAKernel32Library.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/buildSrc/src/main/resources/checkstyle_suppressions.xml b/buildSrc/src/main/resources/checkstyle_suppressions.xml index d5f08cb6a9a..b5f6edb1327 100644 --- a/buildSrc/src/main/resources/checkstyle_suppressions.xml +++ b/buildSrc/src/main/resources/checkstyle_suppressions.xml @@ -200,6 +200,7 @@ + diff --git a/core/src/main/java/org/elasticsearch/bootstrap/JNAKernel32Library.java b/core/src/main/java/org/elasticsearch/bootstrap/JNAKernel32Library.java index d41d1879152..0a81599e652 100644 --- a/core/src/main/java/org/elasticsearch/bootstrap/JNAKernel32Library.java +++ b/core/src/main/java/org/elasticsearch/bootstrap/JNAKernel32Library.java @@ -155,7 +155,7 @@ final class JNAKernel32Library { public static class SizeT extends IntegerType { - SizeT() { + public SizeT() { this(0); }