summaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/gluegen/runtime/CPU.java
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-03-28 18:37:59 +0200
committerMichael Bien <[email protected]>2010-03-28 18:37:59 +0200
commitbe3ddc922fda13c0ba344909b3639a2c78c4b809 (patch)
tree714b2b579927751a6266dcca72c3393e86ef53df /src/java/com/jogamp/gluegen/runtime/CPU.java
parentcfe3dcb64d8ddfc941151a2907976adeaec36320 (diff)
(part2) merged all cdc_fp special cases into one common superclass for each special case.
introduced Platform as utility for querying platform information. special cdc build with cdc_fp bootclasspath temporary dissabled.
Diffstat (limited to 'src/java/com/jogamp/gluegen/runtime/CPU.java')
-rwxr-xr-xsrc/java/com/jogamp/gluegen/runtime/CPU.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/com/jogamp/gluegen/runtime/CPU.java b/src/java/com/jogamp/gluegen/runtime/CPU.java
index 027b602..9c2f81e 100755
--- a/src/java/com/jogamp/gluegen/runtime/CPU.java
+++ b/src/java/com/jogamp/gluegen/runtime/CPU.java
@@ -60,8 +60,8 @@ public class CPU {
// here as these system properties are visible even to unsigned
// applets
// Note: this code is replicated in StructLayout.java
- String os = System.getProperty("os.name").toLowerCase();
- String cpu = System.getProperty("os.arch").toLowerCase();
+ String os = Platform.getOS().toLowerCase();
+ String cpu = Platform.getArch().toLowerCase();
if ((os.startsWith("windows") && cpu.equals("x86")) ||
(os.startsWith("windows") && cpu.equals("arm")) ||