Bug 15436

GemBuilder for Smalltalk/VW

8.7.1, 8.7, 8.6, 8.5, 8.4, 8.3, 8.2, 8.1, 7.6.1, 7.6, 7.5, 7.4.1, 7.4, 7.3.3, 7.3.2, 7.3.1, 7.3, 7.2.2, 7.2.1, 7.2, 7.1.2, 7.1.1, 7.1, 7.0.2, 7.0.1, 7.0, 6.2, 6.1, 6.0, 5.2.3, 5.2.2, 5.2.1, 5.1.x

All

Embedded ClientForwarder can't print itself

An embedded ClientForwarder can't print itself.  Instead, it tries to
replicate OPrintStream, resulting in the exception:

'Unhandled exception: Class creation error
- attempt to create a Smalltalk class for GemStone OPrintStream'

Workaround

As a workaround for this bug, file the following method in as SystemUser
and commit it.

category: 'printing'
method: ClientForwarder
printOn: aStream

        "Forward #printString instead of #printOn:, to avoid replicating the
         argument, a PrintStream."

        aStream nextPutAll: self printString
%


                

Last updated: