This is the mail archive of the mauve-discuss@sources.redhat.com mailing list for the Mauve project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Question about getEncoding method on different platforms


"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>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]