Mark Wielaard
Sun Jun 8 13:55:00 GMT 2003


On Sun, 2003-06-08 at 12:48, Michael Koch wrote:
> I would like to merge from classpath. This 
> basically uses a PrintWriter object internally instead of doing it 
> all alone.
> Can somebody with working Mauve check if this gives any regression ?

Yes, there is the following failure:
FAIL: (number 1)

That test tries to set the protected out variable (of the
FilterOutputStream superclass of PrintStream) and then use it normally.
Which fails with this new PrintWriter delegate thing.
Tricky to get right...

> I somehow can get Mauve working here.

What is the problem? I just checked in a little fix to make mauve work
with gcj (native standalone) again.

> Comments ?

I would loose the synchronized on the write methods. The original libgcj
implementation didn't have them and I don't believe the PrintStreams are
guaranteed to work deterministically when used from multiple Threads.



More information about the Java-patches mailing list