diff options
author | Sven Gothel <[email protected]> | 2013-01-18 22:09:09 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-01-18 22:09:09 +0100 |
commit | 9bcec728aebc74c81cdd7c92aba5ac2706a7da19 (patch) | |
tree | 3da42feb0c52fea8b4ad4f62d7c6f9dfd75fe4ed /src/java/jogamp | |
parent | 2537f8816f39fdc47cd5aaedd747a7b12b94ca5e (diff) | |
parent | 2b7d1b1d25cb2cd73311ec9159b465f0391bf5e0 (diff) |
Merge remote-tracking branch 'xranby/gcj-gij'
Diffstat (limited to 'src/java/jogamp')
-rw-r--r-- | src/java/jogamp/common/os/PlatformPropsImpl.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/java/jogamp/common/os/PlatformPropsImpl.java b/src/java/jogamp/common/os/PlatformPropsImpl.java index 111523d..3010a31 100644 --- a/src/java/jogamp/common/os/PlatformPropsImpl.java +++ b/src/java/jogamp/common/os/PlatformPropsImpl.java @@ -90,8 +90,10 @@ public abstract class PlatformPropsImpl { } private static final boolean initIsJavaSE() { - if(JAVA_RUNTIME_NAME.indexOf("Java SE") != -1) { - return true; + if(JAVA_RUNTIME_NAME!=null) { + if(JAVA_RUNTIME_NAME.indexOf("Java SE") != -1) { + return true; + } } // probe for classes we need on a SE environment |