commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Biestro (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (JEXL-296) Real literal in scientific format is not parsed without suffix
Date Mon, 01 Apr 2019 14:05:00 GMT

     [ https://issues.apache.org/jira/browse/JEXL-296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Henri Biestro updated JEXL-296:
-------------------------------
    Fix Version/s: 3.2

> Real literal in scientific format is not parsed without suffix
> --------------------------------------------------------------
>
>                 Key: JEXL-296
>                 URL: https://issues.apache.org/jira/browse/JEXL-296
>             Project: Commons JEXL
>          Issue Type: Bug
>    Affects Versions: 3.1
>            Reporter: Dmitri Blinov
>            Assignee: Henri Biestro
>            Priority: Major
>             Fix For: 3.2
>
>
> I have found that in current implementation the {{testRealLiteralScript()}} fails with
ambigous statement error 
> {code:java}
>     @Test
>     public void testRealLiteralScript() throws Exception {
>         JexlContext jc = new MapContext();
>         Object o;
>         o = JEXL.createScript("1e10").execute(jc);
>         Assert.assertEquals(1e10, o);
>     }
> {code}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message