From 5b9a252df6dd3d9a3f89463e9d72ba580e1342d1 Mon Sep 17 00:00:00 2001 From: Sven Guenther Date: Fri, 14 Sep 2018 14:07:16 +0200 Subject: [PATCH 1/2] Remove the usage of javah with the jdk8 the javah command is deprecated and is removed at least in the jdk10. The javac is now doing the worki. --- prepare.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/prepare.sh b/prepare.sh index 8369c05..37ab109 100755 --- a/prepare.sh +++ b/prepare.sh @@ -1,4 +1,3 @@ #!/bin/sh mkdir include (cd java && mvn clean package -DskipTests=true -Dmaven.javadoc.skip=true) -javah -jni -classpath ./java/target/classes -d include -force com.aparapi.internal.jni.ConfigJNI com.aparapi.internal.jni.KernelArgJNI com.aparapi.internal.jni.KernelRunnerJNI com.aparapi.internal.jni.OpenCLJNI com.aparapi.internal.jni.RangeJNI com.aparapi.Kernel com.aparapi.Range com.aparapi.Config com.aparapi.device.Device com.aparapi.device.OpenCLDevice com.aparapi.internal.kernel.KernelRunner com.aparapi.internal.opencl.OpenCLArgDescriptor com.aparapi.internal.opencl.OpenCLMem From e97a1c438b0aff9a9fa82caa20b2c635f6802407 Mon Sep 17 00:00:00 2001 From: Sven Guenther Date: Fri, 14 Sep 2018 14:10:11 +0200 Subject: [PATCH 2/2] Update the changelog and contributors file --- CHANGELOG.md | 2 ++ CONTRIBUTORS.md | 1 + 2 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 568bbbd..25852a1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## 1.4.2 +* Fixed compiling with jdk above 8 + ## 1.4.1 * Fixed exception handling when calling Java method OpenCLDevice.configure() to not hide exceptions diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 0997bd2..a8ecd36 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -10,6 +10,7 @@ * Paul Miner * Lorenzo Gallucci * Luis Mendes +* Sven Guenther # Details