classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cp-patches] FYI: InputStreamReader fixlet


From: Roman Kennke
Subject: Re: [cp-patches] FYI: InputStreamReader fixlet
Date: Mon, 14 Nov 2005 14:06:11 +0100

Am Mittwoch, den 09.11.2005, 17:28 -0700 schrieb Tom Tromey:
> >>>>> "Roman" == Roman Kennke <address@hidden> writes:
> 
> Roman> * java/io/InputStreamReader.java
> Roman> (InputStreamReader(InputStream, CharsetDecoder)): Catch the case
> Roman> when the CharsetDecoder returns a null charset and handle it like
> Roman> US-ASCII.
> 
> Do we really want this to default to US-ASCII and not, say, file.encoding?

I don't know. The application that triggered this bug seems to assume
that there is no character->byte conversion applied (the Decoder class
that sets the charset to null is called NoConversion and does a
super(null, ..) in its constructor). So it seemed most plausible to me
to handle this like US-ASCII.

/Roman

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


reply via email to

[Prev in Thread] Current Thread [Next in Thread]