RE: Output TextArea Problem

Wilson Jimmy - jiwils <[email protected]> Wed, 16 Apr 2003 14:46:22 -0500
Newsgroups gmane.comp.java.jswat.user
Message-ID <3E54A6BA1EAFD311AD75009027DEA5C0185D7F62@conmsx04.corp.acxiom.net>
This appears to be related to JUnit.  When I tested the same code via an
adhoc main method in the same class, this problem disappeared.

Jimmy
-- 
James "Jimmy" Wilson
Software Developer, Acxiom Corporation

-----Original Message-----
From: Nathan Fiedler [mailto:[email protected]]
Sent: Wednesday, April 16, 2003 1:25 AM
To: Wilson Jimmy - jiwils
Cc: JSwat Users "Mailing List (E-mail)
Subject: Re: [jswat-user] Output TextArea Problem


Both stdout and stderr will go to the same text area, so it may be that
something is printing the . to stderr and is mixing with stdout.
However, the timing suggested in the results would rule that case out. I
can't find anything obvious in GraphicalOutputAdapter. There's certainly
nothing printing a spurious dot so far as I can see.

Do you have sample code that you could send to me? If so, send it to the
jswat-bugs list and I'll investigate further.

n


On Tue, 2003-04-15 at 21:41, Wilson Jimmy - jiwils wrote:
> I have some code that calls System.out.println(...).  This results in the
> expected output in the Output TextArea, but sometimes I get a "."
character
> in front of what I expected.  For example, System.out.println("test") has
> ".test" for output.  However code right below that that prints exception
> information does not have the "." character prepended.
> 
> Any ideas why I might be getting this?  I am running JSwat on WindowsXP
> using JDK 1.4.1_02.
> 
> Jimmy








**********************************************************************
The information contained in this communication is
confidential, is intended only for the use of the recipient
named above, and may be legally privileged.
If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination, 
distribution, or copying of this communication is strictly
prohibited.
If you have received this communication in error,
please re-send this communication to the sender and
delete the original message or any copy of it from your
computer system. Thank You.