[jboss-jira] [JBoss JIRA] (DROOLS-1009) lambda expressions cannot be parsed by ecj/janino
RH Bugzilla Integration (JIRA)
issues at jboss.org
Thu Feb 4 04:00:01 EST 2016
[ https://issues.jboss.org/browse/DROOLS-1009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13158613#comment-13158613 ]
RH Bugzilla Integration commented on DROOLS-1009:
-------------------------------------------------
Ryan Zhang <rzhang at redhat.com> changed the Status of [bug 1199965|https://bugzilla.redhat.com/show_bug.cgi?id=1199965] from MODIFIED to ON_QA
> 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 :)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list