Changeset 12379


Ignore:
Timestamp:
01/15/10 20:51:22 (5 years ago)
Author:
astalla
Message:

Fixed print-object for JavaObjects? to call writeToString() on the object.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abcl/src/org/armedbear/lisp/print-object.lisp

    r11590 r12379  
    5050    (format stream "~S" (class-name (class-of object))))
    5151  object)
     52
     53(defmethod print-object ((obj java:java-object) stream)
     54  (write-string (%write-to-string obj) stream))
    5255
    5356(defmethod print-object ((class java:java-class) stream)
Note: See TracChangeset for help on using the changeset viewer.