lambda bug - lambda expression in instance initializer in anon/local class

Vicente-Arturo Romero-Zaldivar vicente.romero at oracle.com
Tue Sep 10 04:06:48 PDT 2013


On 10/09/13 01:49, Stuart Marks wrote:
> This one *seems* to be fixed in b106. It seems very similar to
>
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8020715
>
> Just in case, I've filed the following bug (though it might end up
> getting closed as a duplicate):
>
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8024498

Hi Zhong Yu,

Yes the bug has been closed as not reproducible by Jonathan Gibbons. 
Lambda repo is not up to date anymore, almost all compiler updates are 
going to tl/langtools directly. Lambda repo, at least from langtools 
point of view, should be used as a reference only.

Thanks,
Vicente

>
> Thanks,
>
> s'marks
>
>
> On 9/6/13 8:10 PM, Zhong Yu wrote:
>> This code crashes javac (jdk8 ea build 105)
>>
>> public class Tmp
>> {
>>       void test()
>>       {
>>           new Object()
>>           {
>>               Runnable r = ()->{};
>>           };
>>
>>           class X
>>           {
>>               Runnable r = ()->{};
>>           }
>>       }
>> }
>>



More information about the lambda-dev mailing list