Bug 1199965

Summary: Engine does not support Java 8 syntax in DRL files.
Product: [Retired] JBoss BRMS Platform 6 Reporter: Tibor Zimanyi <tzimanyi>
Component: BREAssignee: Mario Fusco <mfusco>
Status: CLOSED EOL QA Contact: Marek Winkler <mwinkler>
Severity: medium Docs Contact: Dawn Eisner <deisner>
Priority: medium    
Version: 6.1.0CC: erick.hagstrom, jjensen, kverlaen, mczernek
Target Milestone: DR1   
Target Release: 6.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
When creating a DLR file that uses Java 8 syntax, the build fails. This is caused by JBoss BRMS engine not supporting Java 8 syntax as of yet. There are no workarounds for this issue at this stage.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-27 19:41:51 UTC Type: Feature Request
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Simple DRL file with rules that contain few Java 8 new syntax additions. none

Description Tibor Zimanyi 2015-03-09 12:00:51 UTC
Created attachment 999507 [details]
Simple DRL file with rules that contain few Java 8 new syntax additions.

Description of problem: Engine does not support Java 8 syntax in DRL files, so user cannot write rules with new Java 8 language syntax features (forEach, lambdas, etc.). 


Version-Release number of selected component (if applicable):BRMS 6.1.0.ER6


How reproducible: Build attached DRL file with bre engine.

Comment 1 Mario Fusco 2015-12-21 14:18:28 UTC
Fixed by https://github.com/droolsjbpm/drools/commit/5e88d07b7

Comment 2 JBoss JIRA Server 2015-12-21 14:19:27 UTC
Mario Fusco <mario.fusco@gmail.com> updated the status of jira DROOLS-1009 to Resolved

Comment 3 Marek Winkler 2016-03-21 14:40:00 UTC
Verified in BRMS 6.3.0.ER1.