`this` in concise method bodies

John Rose john.r.rose at oracle.com
Sat Oct 13 04:56:26 UTC 2018


On Oct 12, 2018, at 9:47 PM, John Rose <john.r.rose at oracle.com> wrote:
> 
> Delegate

P.S.  In the prehistory of Java there were serious proposals to support
delegation of an object's method to some "friend" (a field).  I think
Ken Arnold was the proponent, and I also think at least some of the
original JLS authors took it seriously.  But it was too much language
change for just one software reuse pattern, even a venerable one.

The CMB proposal seems to fulfills this old RFE completely, and does
much more besides, since it handles Concepts and Prototypes also.



More information about the amber-spec-observers mailing list