commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Carman <ja...@carmanconsulting.com>
Subject Re: [math] incompatible change in r936295
Date Tue, 01 Jun 2010 12:45:08 GMT
On Tue, Jun 1, 2010 at 8:37 AM, Gilles Sadowski
<gilles@harfang.homelinux.org> wrote:
> I don't understand.
> Supposing that some (compiled) client code refers to
>
>  BivariateRealFunction interpolate(...)
>
> Since "BivariateRealFunction" is an interface, then, by definition, the
> code cannot contain information about the specific type that will be
> returned.
> How can this code break when a "BicubicSplineInterpolatingFunction" is
> returned?

The "pointer" to the method is based on the return type.  If it
changes (even in a compatible way as far as recompiling is concerned),
it's not the same method.

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


Mime
View raw message