update libthrift
was built with openjdk-11
Change-Id: I646471c4cd8aa06467f2b8d69a57ce33c8432076
diff --git a/libthrift/README.md b/libthrift/README.md
index ed1a486..70a2ac8 100644
--- a/libthrift/README.md
+++ b/libthrift/README.md
@@ -17,14 +17,15 @@
sudo docker run -it --name thrift-build -v $(pwd)/thrift:/thrift ubuntu:20.04
apt-get update
-apt-get install -y openjdk-13-jre-headless openjdk-13-jdk make bison flex gcc cmake make g++
+apt-get install -y openjdk-11-jdk make bison flex gcc cmake make g++
cd /thrift/compiler/cpp
mkdir cmake-build
cd cmake-build
cmake ..
make
cp bin/thrift ..
-cd ../../../lib/java
+cd ../../..
+cd lib/java
./gradlew
cp build/libs/libthrift-0.13.0-SNAPSHOT.jar ../../libthrift-0.13.0.jar
exit
diff --git a/libthrift/libthrift-0.13.0.jar b/libthrift/libthrift-0.13.0.jar
index eeba2b8..57619b5 100644
--- a/libthrift/libthrift-0.13.0.jar
+++ b/libthrift/libthrift-0.13.0.jar
Binary files differ
diff --git a/libthrift/patch13.diff b/libthrift/patch13.diff
index 74e1351..e3199f1 100644
--- a/libthrift/patch13.diff
+++ b/libthrift/patch13.diff
@@ -21,17 +21,6 @@
apache.repo=https://repository.apache.org/content/repositories/releases
# Apache Maven publish
-diff --git a/lib/java/gradle/wrapper/gradle-wrapper.properties b/lib/java/gradle/wrapper/gradle-wrapper.properties
-index 7c4388a92..a4b442974 100644
---- a/lib/java/gradle/wrapper/gradle-wrapper.properties
-+++ b/lib/java/gradle/wrapper/gradle-wrapper.properties
-@@ -1,5 +1,5 @@
- distributionBase=GRADLE_USER_HOME
- distributionPath=wrapper/dists
--distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-bin.zip
-+distributionUrl=https\://services.gradle.org/distributions/gradle-6.3-bin.zip
- zipStoreBase=GRADLE_USER_HOME
- zipStorePath=wrapper/dists
diff --git a/lib/java/src/org/apache/thrift/TAsyncProcessor.java b/lib/java/src/org/apache/thrift/TAsyncProcessor.java
index 66f768896..533e74d86 100644
--- a/lib/java/src/org/apache/thrift/TAsyncProcessor.java