commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From S├ębastien Brisard <sebastien.bris...@m4x.org>
Subject Re: [all] Does this break binary compatibility?
Date Mon, 09 Jul 2012 13:55:41 GMT
Hi,

>
> In fact, changing the return type does break binary compatibility (binary
> compatibility is different from source compatibility), since the return
> type of a method is part of is java signature.
> This means that if someone would want to use the new jar (with changed
> return type) as a drop-in replacement, without recompiling anything else,
> the code would not execute (without NoSuchMethodError thrown).
>
Thanks for these explanations. I guess this change will have to wait !

S├ębastien


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


Mime
View raw message