m.invoke() vs. m()

Vladimir Kirichenko vladimir.kirichenko at gmail.com
Mon Dec 7 16:02:44 PST 2009


Reinier Zwitserloot wrote:
> Clearly, choice B cannot possibly be less complex than choice A.

How do we survived with later stuff now? Same challenges.

package x;

import static x.S.m;

public class Test {
	public void m() {
		class T {
			public void m() {
				new Test() {
					public void m() {
						m();
					}
				};
			}
		}
	}
}

class S {
	public static void m() {
	}
}


-- 
Best Regards,
Vladimir Kirichenko

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
Url : http://mail.openjdk.java.net/pipermail/closures-dev/attachments/20091208/41ac6770/attachment-0001.bin 


More information about the closures-dev mailing list