[type-annos-observers] Clarifying the receiver parameter

Markus Keller markus_keller at ch.ibm.com
Tue Oct 22 09:49:00 PDT 2013


Alex Buckley <alex.buckley at oracle.com> wrote on 2013-10-16 00:57:01:
> On 10/15/2013 1:10 PM, Markus Keller wrote:
> > Could you please have a look at these? Shouldn't be too late for that.
> > 
http://mail.openjdk.java.net/pipermail/type-annotations-spec-observers/2013-August/000179.html

> 
> 1. The name of a receiver parameter in the draft is allowed to be 'this' 

> or the text of a qualified expression indicating the same class. I 
> raised this issue with the EG on April 10 ("Clarifying the receiver 
> parameter") because the 308 design document gave only an example. 
> Srikanth asked for rationale; I gave it. No-one else commented despite 
> my best efforts to highlight the semi-open thread at later dates.

I wrote this answer to the observers list (another one lost in the mailing 
lists jungle):
http://mail.openjdk.java.net/pipermail/type-annotations-spec-observers/2013-April/000153.html

I still think it would be better not to mix the declaration of a 'this' 
parameter with the qualified 'this' expression syntax.

Markus



More information about the type-annotations-spec-observers mailing list