Bug 499957

Summary: Compilation error on JAVA 8 lambda type inference with AJC 1.8.9
Product: [Tools] AspectJ Reporter: Daniel Qian <chanjarster>
Component: CompilerAssignee: aspectj inbox <aspectj-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: major    
Priority: P3    
Version: 1.8.9   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X   
Whiteboard:
Attachments:
Description Flags
Reproducable code none

Description Daniel Qian CLA 2016-08-18 23:26:58 EDT
Created attachment 263660 [details]
Reproducable code

I got a compilation error on AJC 1.8.9 when I use java 8 lambda, but everything is ok on javac.

Below is the compilation error info and reproducable code is in attachment:

Error:(40, 0) ajc: Type mismatch: cannot convert from void to <unknown>
Error:(44, 0) ajc: The method getByAssocs(E[]) in the type BaseCodeRepository is not applicable for the arguments (Set<Association>)
Error:(45, 0) ajc: The method setBar(Bug.Bar) in the type Bug.FooVm is not applicable for the arguments (RootEntity)
Comment 1 Daniel Qian CLA 2016-08-21 20:47:23 EDT

*** This bug has been marked as a duplicate of bug 499958 ***