Opened 13 years ago

Closed 13 years ago

#122 closed defect (fixed)

printObject() infrastructure doesn't support *PRINT-CIRCLE*

Reported by: ehuelsmann Owned by: nobody
Priority: major Milestone: 0.27
Component: java Version:
Keywords: Cc:
Parent Tickets:

Description

From a reaction of mine to a mail by Kevin Reid:

I don't think it's a good idea to explicitly bind *print-circle* to
nil in anything debugging-related, including error printing, because
then it's a source of nontermination (silent until out of memory, if
the output is going to a string) if user code is working with circular
structure.

That's a good point. Rather, it may even be better to explicitly bind it to T.

This remark made me realize that our Java side writeToString actually doesn't support *PRINT-CIRCLE* which can be an issue when trying to debug ABCL before it has loaded the ERROR and PRINT-OBJECT infrastructures.

Change History (2)

comment:1 Changed 13 years ago by Mark Evenson

Milestone: 0.27

comment:2 Changed 13 years ago by ehuelsmann

Resolution: fixed
Status: newclosed
Summary: writeToString infrastructure doesn't support *PRINT-CIRCLE*printObject() infrastructure doesn't support *PRINT-CIRCLE*

writeToString() has been renamed to printObject().

Note: See TracTickets for help on using tickets.