Bug 471347 - Java 8 lambda support (invokedynamic joinpoint)
Summary: Java 8 lambda support (invokedynamic joinpoint)
Status: NEW
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: 1.8.6   Edit
Hardware: PC Windows 8
: P3 major with 2 votes (vote)
Target Milestone: ---   Edit
Assignee: aspectj inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-29 12:05 EDT by Alexander Kriegisch CLA
Modified: 2020-10-04 21:27 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kriegisch CLA 2015-06-29 12:05:08 EDT
There was a recent discussion on StackOverflow [1] and on the AspectJ users mailing list [2] about better lambda support. Andy encouraged me to issue a ticket, which I am doing just now. I am unsure whether issue #364886 [3] might also be related to this one, but I suppose so.


[1] http://stackoverflow.com/questions/30776675/aspectj-pointcut-on-lambda-expression

[2] http://aspectj.2085585.n4.nabble.com/Pointcut-matching-issue-with-lambdas-td4651857.html

[3] https://bugs.eclipse.org/bugs/show_bug.cgi?id=364886
Comment 1 Alexander Kriegisch CLA 2018-02-02 05:53:54 EST
Hello.

Has this issue been noticed, maybe worked on or even resolved? I just saw it again because someone posted a comment on the old StackOverflow issue.
Comment 2 Andrew Clement CLA 2018-02-05 19:17:53 EST
Issue has been noticed but nothing done on it I'm afraid.
Comment 3 Alexander Kriegisch CLA 2018-04-03 03:20:57 EDT
There has been another SO issue with a similar problem. Here is my answer:

https://stackoverflow.com/a/49624393/1082681
Comment 4 Alexander Kriegisch CLA 2020-10-04 21:27:47 EDT
Here is yet another case where lambda support would be helpful:
https://stackoverflow.com/a/64201365/1082681

This is about callback hooks registered for events in reactive frameworks like RxJava where lambdas are heavily used, basically disqualifying them for AspectJ usage.