[armedbear-cvs] r13509 - trunk/abcl/src/org/armedbear/lisp
mevenson at common-lisp.net
mevenson at common-lisp.net
Tue Aug 16 12:16:30 UTC 2011
Author: mevenson
Date: Tue Aug 16 05:16:29 2011
New Revision: 13509
Log:
Provide a more useful implementation of LispObject.toString().
Since most JVM debuggers use the java.lang.Object.toString() contract
to provide meaningful information for users, we have out default
implementation call the princToString() implementation.
Modified:
trunk/abcl/src/org/armedbear/lisp/LispObject.java
Modified: trunk/abcl/src/org/armedbear/lisp/LispObject.java
==============================================================================
--- trunk/abcl/src/org/armedbear/lisp/LispObject.java Tue Aug 16 02:49:25 2011 (r13508)
+++ trunk/abcl/src/org/armedbear/lisp/LispObject.java Tue Aug 16 05:16:29 2011 (r13509)
@@ -748,6 +748,11 @@
thread.resetSpecialBindings(mark);
}
}
+
+ public String toString()
+ {
+ return princToString();
+ }
public String printObject()
{
More information about the armedbear-cvs
mailing list