diff options
author | Sven Gothel <[email protected]> | 2019-06-17 04:08:24 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2019-06-17 04:08:24 +0200 |
commit | 330dad069dee5a0cc0480cf5cd9052000004223a (patch) | |
tree | 97593f5e7586c3aa12055c37cd0ac5d829488827 /src/java/com/jogamp/common/util/VersionUtil.java | |
parent | 52a6d4ef4133a998824236af9bb48d0ea65359a9 (diff) |
Bug 1363: Java 11: Recognize Java9+ ..; Support JEP 178 static linkage libgluegen-rt[.so] -> libgluegen_rt[.so|.a]
Recognize Java9+ ..
- Recognize new Java9+ version string as of JEP 223
- Avoid Classpath's private findLibrary call
+++
Support JEP 178 static linkage (OpenJDK 1.8)
- Need to change native library basename: libgluegen-rt[.so] -> libgluegen_rt[.so|.a]
since the dash '-' is not supported in a ANSI-c function name.
- Added 'JNI_OnLoad_gluegen_rt' to recognize statical linked JNI code
- Added JNI_VERSION_1_8 to jni/jni.h
Diffstat (limited to 'src/java/com/jogamp/common/util/VersionUtil.java')
-rw-r--r-- | src/java/com/jogamp/common/util/VersionUtil.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/java/com/jogamp/common/util/VersionUtil.java b/src/java/com/jogamp/common/util/VersionUtil.java index b9e8568..1e09034 100644 --- a/src/java/com/jogamp/common/util/VersionUtil.java +++ b/src/java/com/jogamp/common/util/VersionUtil.java @@ -74,6 +74,7 @@ public class VersionUtil { sb.append(", Runtime: ").append(Platform.getJavaRuntimeName()).append(Platform.getNewline()); sb.append("Platform: Java Vendor: ").append(Platform.getJavaVendor()).append(", ").append(Platform.getJavaVendorURL()); sb.append(", JavaSE: ").append(PlatformPropsImpl.JAVA_SE); + sb.append(", Java9: ").append(PlatformPropsImpl.JAVA_9); sb.append(", Java6: ").append(PlatformPropsImpl.JAVA_6); sb.append(", dynamicLib: ").append(PlatformPropsImpl.useDynamicLibraries); sb.append(", AWT enabled: ").append(Platform.AWT_AVAILABLE); |