You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Henri Biestro (Jira)" <ji...@apache.org> on 2021/06/07 13:15:06 UTC
[jira] [Closed] (JEXL-296) Real literal in scientific format is not
parsed without suffix
[ https://issues.apache.org/jira/browse/JEXL-296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Henri Biestro closed JEXL-296.
------------------------------
> 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
(v8.3.4#803005)