Extension vs defender methods

Ryan Musgrave ryanm128 at gmail.com
Wed Nov 9 01:15:23 PST 2011


Hi all,

I'm relatively new to this list, so apologies if this has been asked
before.

In C# a user can create an extension method for an existing interface. The
jdk8 change is being implemented such that only the interface owner can
create these extension methods.

Can anyone point me to the reason(s) for this decision?

Thanks,
Ryan


More information about the lambda-dev mailing list