Bug 41724

GemBuilder for Smalltalk/VA

5.4.7, 5.4.6, 5.4.5, 5.4.4, 5.4.3, 5.4.2, 5.4.1, 5.4, 5.3.2, 5.3.1, 5.3, 5.2.7, 5.2.6, 5.2.5, 5.2.4, 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: 7/18/11