Summary: | Compilation error on JAVA 8 lambda type inference with AJC 1.8.9 | ||||||
---|---|---|---|---|---|---|---|
Product: | [Tools] AspectJ | Reporter: | Daniel Qian <chanjarster> | ||||
Component: | Compiler | Assignee: | 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: |
|
*** This bug has been marked as a duplicate of bug 499958 *** |
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)