summaryrefslogtreecommitdiffstats
path: root/src/java/jogamp/common
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2019-08-18 23:53:27 +0200
committerSven Gothel <[email protected]>2019-08-18 23:53:27 +0200
commit6f987f16c808242b61263d76bd7d72e148a0af24 (patch)
tree683d91bc5605e4a10897e70b2dafd65bc5680b46 /src/java/jogamp/common
parent175392ceeba5f69aa5ac90e4021490ade742a323 (diff)
Bug 1363: Java 11: Complete renaming JEP 178 compatible native lib basename gluegen-rt -> gluegen_rt
- Fix finding native library for Elf parsing - Fix one unit test - Fix comments Completes commit 330dad069dee5a0cc0480cf5cd9052000004223a
Diffstat (limited to 'src/java/jogamp/common')
-rw-r--r--src/java/jogamp/common/os/MachineDataInfoRuntime.java2
-rw-r--r--src/java/jogamp/common/os/PlatformPropsImpl.java4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/java/jogamp/common/os/MachineDataInfoRuntime.java b/src/java/jogamp/common/os/MachineDataInfoRuntime.java
index 625e537..0b920f5 100644
--- a/src/java/jogamp/common/os/MachineDataInfoRuntime.java
+++ b/src/java/jogamp/common/os/MachineDataInfoRuntime.java
@@ -128,7 +128,7 @@ public class MachineDataInfoRuntime {
private static MachineDataInfo getRuntimeImpl() {
try {
- Platform.initSingleton(); // loads native gluegen-rt library
+ Platform.initSingleton(); // loads native gluegen_rt library
} catch (final UnsatisfiedLinkError err) {
return null;
}
diff --git a/src/java/jogamp/common/os/PlatformPropsImpl.java b/src/java/jogamp/common/os/PlatformPropsImpl.java
index 2900c99..1d38f30 100644
--- a/src/java/jogamp/common/os/PlatformPropsImpl.java
+++ b/src/java/jogamp/common/os/PlatformPropsImpl.java
@@ -405,7 +405,7 @@ public abstract class PlatformPropsImpl {
* For Elf parsing one of the following binaries is used:
* <ul>
* <li>Linux: Current executable</li>
- * <li>Android: Found gluegen-rt library</li>
+ * <li>Android: Found gluegen_rt library</li>
* <li>Other: A found java/jvm native library.</li>
* </ul>
* </p>
@@ -417,7 +417,7 @@ public abstract class PlatformPropsImpl {
File file = null;
try {
if( OSType.ANDROID == osType ) {
- file = new File(NativeLibrary.findLibrary("gluegen-rt", PlatformPropsImpl.class.getClassLoader()));
+ file = new File(NativeLibrary.findLibrary("gluegen_rt", PlatformPropsImpl.class.getClassLoader()));
} else {
if( OSType.LINUX == osType ) {
file = new File("/proc/self/exe");