On 02/01/2012 05:37 PM, Martijn Verburg wrote:
I'll add this to the notes, thanks John.

On 31 January 2012 23:25, John Rose<[email protected]>  wrote:
It only strengthen's your already unassailable conclusion, but I'll add:
  ... may have a reference to an "enclosing instance" +[and/or references to
captured local variable values] ... anonymous classes have names that are
synthesized by the compiler ... +[Likewise, the classes may also have
synthesized fields with unpredictably varying names and types] ...

In fact it's worst than that because if you have an inner class in
an inner class, you can even have more than one enclosing instances
depending how the compiler choose to compile the inner-inner class.

Rémi

Reply via email to