]
RH Bugzilla Integration commented on DROOLS-1009:
-------------------------------------------------
Ryan Zhang <rzhang(a)redhat.com> changed the Status of [bug
lambda expressions cannot be parsed by ecj/janino
-------------------------------------------------
Key: DROOLS-1009
URL:
https://issues.jboss.org/browse/DROOLS-1009
Project: Drools
Issue Type: Feature Request
Affects Versions: 6.3.0.Final
Reporter: Malte Brunnlieb
Assignee: Mario Fusco
Fix For: 6.4.0.Beta1
Using Java8 lambda expression in the decision template like
bean1.call(() -> $param);
you will run into compiler issues with ejc as well as the currently supported version of
JANINO (2.5.16). I tried to manually upgrade the JANINO compiler version, but got stuck in
compatibility issues as the Scanner seems to have been changed regarding exception
handling.
Can you suggest to fix the incompatibility with JANINO > 2.5.16 such that lambda
expressions can be parsed by the newest parsers? Would be nice :)