diff options
author | Xerxes Rånby <[email protected]> | 2013-01-18 16:21:04 +0100 |
---|---|---|
committer | Xerxes Rånby <[email protected]> | 2013-01-18 16:21:04 +0100 |
commit | 9c1c6d49e11574d8afe351a8100872a645ccdd36 (patch) | |
tree | b54533af58252d23603adf2543c5c95cafeba006 /src | |
parent | 8b3e5b94bcd3167278eb972b2be37086d3bd2996 (diff) |
PlatformPropsImpl: JAVA_RUNTIME_NAME is null using GCJ gij JRE.
Signed-off-by: Xerxes Rånby <[email protected]>
Diffstat (limited to 'src')
-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 |