aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/common/GlueGenVersion.java
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-11-18 01:38:42 +0100
committerMichael Bien <[email protected]>2010-11-18 01:38:42 +0100
commit1e0288b397dfd914532c0f0cde850f4e5c5bc91d (patch)
tree966939bd5c6dca6f5910f4e91435710e248ea912 /src/java/com/jogamp/common/GlueGenVersion.java
parentdeedd4f67b19919d4a231224bfa6a7edbd36e608 (diff)
Version info debugging works now even without native libs.
- Platform is now useable without gluegen-rt libs in library path. - JogampVersion: fixed equals, added Impl url to manifest. - VersionUtil: getManifest should be now more relieable and passed all manual tests, e.g java jar lib.jar without specified classpath.
Diffstat (limited to 'src/java/com/jogamp/common/GlueGenVersion.java')
-rw-r--r--src/java/com/jogamp/common/GlueGenVersion.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/java/com/jogamp/common/GlueGenVersion.java b/src/java/com/jogamp/common/GlueGenVersion.java
index e73d4bb..c59e96b 100644
--- a/src/java/com/jogamp/common/GlueGenVersion.java
+++ b/src/java/com/jogamp/common/GlueGenVersion.java
@@ -34,7 +34,7 @@ import java.util.jar.Manifest;
public class GlueGenVersion extends JogampVersion {
- protected static GlueGenVersion jogampCommonVersionInfo;
+ protected static volatile GlueGenVersion jogampCommonVersionInfo;
protected GlueGenVersion(String packageName, Manifest mf) {
super(packageName, mf);
@@ -45,8 +45,7 @@ public class GlueGenVersion extends JogampVersion {
synchronized(GlueGenVersion.class) {
if( null == jogampCommonVersionInfo ) {
final String packageName = "com.jogamp.common";
- final String fullClazzName = GlueGenVersion.class.getName();
- final Manifest mf = VersionUtil.getManifest(GlueGenVersion.class.getClassLoader(), fullClazzName);
+ final Manifest mf = VersionUtil.getManifest(GlueGenVersion.class.getClassLoader(), "com.jogamp.common");
jogampCommonVersionInfo = new GlueGenVersion(packageName, mf);
}
}