You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Jochen Wiedmann <jo...@gmail.com> on 2018/10/31 13:39:23 UTC

Re: [jira] [Commented] (IO-588) IOUtils.writeLines() should accept an Iterable<>

On Fri, Oct 12, 2018 at 6:06 PM Gary Gregory (JIRA) <ji...@apache.org> wrote:

> Thank you for your patch but... -1 to this patch as it breaks binary compatibility.

Could you explain that, please? A Collection is, in particular, an
Iterable, thus the compiler should use the new methods, instead, as
far as I can tell.

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


Re: [jira] [Commented] (IO-588) IOUtils.writeLines() should accept an Iterable<>

Posted by Gary Gregory <ga...@gmail.com>.
On Wed, Oct 31, 2018 at 7:39 AM Jochen Wiedmann <jo...@gmail.com>
wrote:

> On Fri, Oct 12, 2018 at 6:06 PM Gary Gregory (JIRA) <ji...@apache.org>
> wrote:
>
> > Thank you for your patch but... -1 to this patch as it breaks binary
> compatibility.
>
> Could you explain that, please? A Collection is, in particular, an
> Iterable, thus the compiler should use the new methods, instead, as
> far as I can tell.
>

You are talking about _source_ compatibility. Binary compatibility should
allow a new jar to replace the old one, this change breaks that capability.

Gary

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