You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Vladimir Sitnikov <si...@gmail.com> on 2020/08/15 08:46:24 UTC

Bug 40455 - ReaderInputStream corrupts surrogate pairs

Hi,

I see there's 14-year-old bug
https://bz.apache.org/bugzilla/show_bug.cgi?id=40455 which does impact the
current users :-(
Here's a recent case from Gradle:
https://github.com/gradle/gradle/issues/14134

What do you think if the current Ant's ReaderInputStream was replaced with
the one from Apache Commons IO?

I don't think it is worth investing time in trying to fix the current
implementation as InputStream implementation must be robust in lots of
corner cases,
and the current tests in Ant are not that sophisticated.

Vladimir

Re: Bug 40455 - ReaderInputStream corrupts surrogate pairs

Posted by Stefan Bodewig <bo...@apache.org>.
On 2020-08-15, Vladimir Sitnikov wrote:

> I see there's 14-year-old bug
> https://bz.apache.org/bugzilla/show_bug.cgi?id=40455 which does impact the
> current users :-(
> Here's a recent case from Gradle:
> https://github.com/gradle/gradle/issues/14134

> What do you think if the current Ant's ReaderInputStream was replaced with
> the one from Apache Commons IO?

Sounds like a good idea, I'll give it a try.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org