java.io.In/OutputStreamReader/Writer.getEncoding() fixlet

Mark Wielaard mark@klomp.org
Thu Feb 13 23:27:00 GMT 2003


Hi,

The following fixes two Mauve failures. When a stream is closed it
should return null according to the spec.

2003-02-13  Mark Wielaard  <mark@klomp.org>

        * java/io/InputStreamReader.java (getEncoding): Return null when
        closed.
        * java/io/OutputStreamWriter.java (getEncoding): Likewise.

I am checking this in on branch and mainline.

Cheers,

Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: getEncoding.patch
Type: text/x-patch
Size: 1651 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20030213/1b6951d8/attachment.bin>


More information about the Java-patches mailing list