Defender methods and compatibility

Rémi Forax forax at univ-mlv.fr
Mon Nov 29 01:56:29 PST 2010


  Le 29/11/2010 01:35, Brian Goetz a écrit :

[...]

>> I propose to use the declaring type instead of the default method
>> to disambiguate.
> Your rules below all produce the same results as the currently described rules.  Can you offer an example where your rules produce a different result?

No I can't. In fact, I hope that the semantics are equivalent.
The current spec mandates that first type of the default method is
the declaring type of the interface, so considering that type or
the default method is equivalent.

Rémi



More information about the lambda-dev mailing list