[jboss-jira] [JBoss JIRA] (DROOLS-1009) lambda expressions cannot be parsed by ecj/janino

RH Bugzilla Integration (JIRA) issues at jboss.org
Mon Dec 21 09:19:00 EST 2015


    [ https://issues.jboss.org/browse/DROOLS-1009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13143375#comment-13143375 ] 

RH Bugzilla Integration commented on DROOLS-1009:
-------------------------------------------------

Mario Fusco <mfusco at redhat.com> changed the Status of [bug 1199965|https://bugzilla.redhat.com/show_bug.cgi?id=1199965] from NEW to MODIFIED

> 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
>
> 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