Bug 499957 - Compilation error on JAVA 8 lambda type inference with AJC 1.8.9
Summary: Compilation error on JAVA 8 lambda type inference with AJC 1.8.9
Status: CLOSED DUPLICATE of bug 499958
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: 1.8.9   Edit
Hardware: PC Mac OS X
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: aspectj inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-18 23:26 EDT by Daniel Qian CLA
Modified: 2016-08-21 20:47 EDT (History)
0 users

See Also:


Attachments
Reproducable code (5.11 KB, application/zip)
2016-08-18 23:26 EDT, Daniel Qian CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***