Changeset 14064
- Timestamp:
- 08/07/12 16:50:15 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abcl/src/org/armedbear/lisp/Lisp.java
r14063 r14064 2325 2325 { 2326 2326 final String osName = System.getProperty("os.name"); 2327 final String version = System.getProperty("java.version");2328 final String os _arch = System.getProperty("os.arch");2327 final String javaVersion = System.getProperty("java.version"); 2328 final String osArch = System.getProperty("os.arch"); 2329 2329 2330 2330 // Common features … … 2362 2362 featureList = new Cons(Keyword.WINDOWS, featureList); 2363 2363 // Java version 2364 if ( version.startsWith("1.5")) {2364 if (javaVersion.startsWith("1.5")) { 2365 2365 featureList = new Cons(Keyword.JAVA_1_5, featureList); 2366 } else if ( version.startsWith("1.6")) {2366 } else if (javaVersion.startsWith("1.6")) { 2367 2367 featureList = new Cons(Keyword.JAVA_1_6, featureList); 2368 } else if ( version.startsWith("1.7")) {2368 } else if (javaVersion.startsWith("1.7")) { 2369 2369 featureList = new Cons(Keyword.JAVA_1_7, featureList); 2370 2370 } 2371 2371 // Processor architecture 2372 if(os _arch != null) {2373 if (os _arch.equals("amd64"))2372 if(osArch != null) { 2373 if (osArch.equals("amd64")) 2374 2374 featureList = new Cons(Keyword.X86_64, featureList); 2375 else if (os _arch.equals("x86"))2375 else if (osArch.equals("x86")) 2376 2376 featureList = new Cons(Keyword.X86, featureList); 2377 2377 } 2378 Symbol.FEATURES.initializeSpecial(NIL); 2379 Symbol.FEATURES.setSymbolValue(featureList); 2378 Symbol.FEATURES.initializeSpecial(featureList); 2380 2379 } 2381 2380
Note: See TracChangeset
for help on using the changeset viewer.