summaryrefslogtreecommitdiffstats
path: root/src/java/jogamp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-05-31 06:17:57 +0200
committerSven Gothel <[email protected]>2013-05-31 06:17:57 +0200
commit959d6d83ec26152343d538287c02eeebf0dcf238 (patch)
tree2f0bf718c0e536866d622b6d6b3ee49947ff915f /src/java/jogamp
parente612416fd3ea802d5fa572729f035e5e64674349 (diff)
Enhance VersionNumber*: Use only RegExp and cache default (no wrapped whitespace tokenizer); String match: Store end-of-match and flag defined components.
Diffstat (limited to 'src/java/jogamp')
-rw-r--r--src/java/jogamp/common/os/PlatformPropsImpl.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/jogamp/common/os/PlatformPropsImpl.java b/src/java/jogamp/common/os/PlatformPropsImpl.java
index 5b8bf0e..6089cc2 100644
--- a/src/java/jogamp/common/os/PlatformPropsImpl.java
+++ b/src/java/jogamp/common/os/PlatformPropsImpl.java
@@ -77,13 +77,13 @@ public abstract class PlatformPropsImpl {
OS = System.getProperty("os.name");
OS_lower = OS.toLowerCase();
OS_VERSION = System.getProperty("os.version");
- OS_VERSION_NUMBER = new VersionNumber(OS_VERSION, ".");
+ OS_VERSION_NUMBER = new VersionNumber(OS_VERSION);
ARCH = System.getProperty("os.arch");
ARCH_lower = ARCH.toLowerCase();
JAVA_VENDOR = System.getProperty("java.vendor");
JAVA_VENDOR_URL = System.getProperty("java.vendor.url");
JAVA_VERSION = System.getProperty("java.version");
- JAVA_VERSION_NUMBER = new VersionNumber(JAVA_VERSION, ".");
+ JAVA_VERSION_NUMBER = new VersionNumber(JAVA_VERSION);
JAVA_VM_NAME = System.getProperty("java.vm.name");
JAVA_RUNTIME_NAME = getJavaRuntimeNameImpl();
JAVA_SE = initIsJavaSE();