-
Task
-
Resolution: Done
-
Major
-
None
-
None
-
Undefined
The latest Byteman documentation (4.0.16) mentions inner classes, but doesn't mention lambdas. I have a rule looking like:
RULE doSomething
CLASS ReportService
METHOD lambda$retrieveReport$0
AT ENTRY
IF TRUE
DO System.out.println("XXXXXXXX");
ENDRULE
However it never seems to trigger. When I run bmsubmit without arguments it shows the rule but does not mention a trigger method. I have checked the method name with javap, and it's correct. I can trigger on other non-lambda methods of this class. I'm running AdoptOpenJdk 8 on Alpine Linux. Have also tried Java 16.0.1 on OSX.
Does Byteman support lambdas? Do I need to do something else to have the rule trigger?