[jboss-jira] [JBoss JIRA] (DROOLS-1009) lambda expressions cannot be parsed by ecj/janino
Malte Brunnlieb (JIRA)
issues at jboss.org
Thu Dec 17 06:09:01 EST 2015
Malte Brunnlieb created DROOLS-1009:
---------------------------------------
Summary: 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: Mark Proctor
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 :)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list