This is the mail archive of the
mauve-discuss@sources.redhat.com
mailing list for the Mauve project.
Re: Question about getEncoding method on different platforms
- From: Brian Jones <cbj at gnu dot org>
- To: "Patrick Ellis" <Patrick dot Ellis at sas dot com>
- Cc: <mauve-discuss at sources dot redhat dot com>
- Date: 07 Mar 2003 00:01:16 -0500
- Subject: Re: Question about getEncoding method on different platforms
- References: <F2E670D5036BE14E89473A3FAEDE6ACE428FA1@merc18.na.sas.com>
"Patrick Ellis" <Patrick dot Ellis at sas dot com> writes:
> Brian,
>
> I updated Mauve today and some of the errors where corrected. It
> seems like the code was not updated for
> gnu/testlet/java/io/PipedStream/Test.java code available() and for
> gnu/testlet/java/io/OutputStreamWriter/jdk11.java
>
> FAIL: gnu.testlet.java.io.OutputStreamWriter.jdk11:
> OutputStreamWriter(writer, encoding) (number 1) got ISO8859_3 but
> expected 8859_3
>
I think I fixed this last one. There is already a fix in Test.java
for PipedStream so be sure your copy was updated from CVS. It looks
like below.
// Now set up our reader
PipedInputStream pis = new PipedInputStream();
pis.connect(pos);
new Thread(pstw).start();
pstw.waitTillReady(); // THE FIX
harness.check(pis.available() > 0, "available()");
Brian
--
Brian Jones <cbj at gnu dot org>