Changeset 14215 for trunk/abcl/src/org
- Timestamp:
- 10/24/12 18:49:47 (8 years ago)
- Location:
- trunk/abcl/src/org/armedbear/lisp
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abcl/src/org/armedbear/lisp/Primitives.java
r14133 r14215 408 408 409 409 // ### values 410 p rivatestatic final Primitive VALUES = new pf_values();410 public static final Primitive VALUES = new pf_values(); 411 411 private static final class pf_values extends Primitive { 412 412 pf_values() { -
trunk/abcl/src/org/armedbear/lisp/lisp_implementation_version.java
r11488 r14215 35 35 36 36 import java.math.BigInteger; 37 import java.text.MessageFormat; 37 38 38 39 // ### lisp_implementation_version … … 48 49 public LispObject execute() 49 50 { 50 return new SimpleString(Version.getVersion()); 51 String vendor = System.getProperty("java.vendor"); 52 vendor = vendor.replace(" ", "_"); 53 String jdkVersion = MessageFormat.format("{0}-{1}-{2})", 54 vendor, 55 System.getProperty("os.arch"), 56 System.getProperty("java.runtime.version")); 57 return Primitives.VALUES.execute(new SimpleString(Version.getVersion()), 58 new SimpleString(jdkVersion)); 51 59 } 52 60
Note: See TracChangeset
for help on using the changeset viewer.