Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.2.1
-
None
Description
Using 3.2.1, I get a parse exception on the simple JEXL script:
#pragma myInt -1
Throws:
org.apache.commons.jexl3.JexlException$Parsing: com.example.Test.testMethod:54@1:15 parsing error in '-' at app//org.apache.commons.jexl3.JexlEngine.createScript(JexlEngine.java:375)
And similar, also for negative real literals such as -1.0.