Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-1009

lambda expressions cannot be parsed by ecj/janino

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 6.4.0.Beta1
    • 6.3.0.Final
    • None
    • None

      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

              mfusco@redhat.com Mario Fusco
              may-bee Malte Brunnlieb (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: