[jboss-jira] [JBoss JIRA] (JBRULES-3399) MVEL comment token /* // in java string literal in consequence causes parse error.

Mario Fusco (JIRA) jira-events at lists.jboss.org
Mon Mar 19 05:48:47 EDT 2012


     [ https://issues.jboss.org/browse/JBRULES-3399?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mario Fusco resolved JBRULES-3399.
----------------------------------

    Fix Version/s: 5.4.0.CR1
       Resolution: Done

    
> MVEL  comment token  /*  // in java string literal in consequence causes parse error.
> -------------------------------------------------------------------------------------
>
>                 Key: JBRULES-3399
>                 URL: https://issues.jboss.org/browse/JBRULES-3399
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: drools-compiler
>    Affects Versions: 5.3.0.CR1, 5.4.0.Beta2
>         Environment: Linux x64, sun jdk 1.6
>            Reporter: Benjamin Bennett
>            Assignee: Mario Fusco
>            Priority: Minor
>             Fix For: 5.4.0.CR1
>
>
>    Having a /* // comment using the mvel dialect in java string literal in the consequence causes
>    [Error: Malformed expression]  to be thrown.
> Looking at the lexar, all comments inside of a string cause a parse error. 
> Similar to JBRULES-2518 but that is fixed in the current version. 
> I wrote a test case for JBRULES-2518 merge request submitted. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list