commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rahul Akolkar (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (JEXL-24) Support Long for integer literal instead of Integers
Date Fri, 17 Jul 2009 18:10:18 GMT

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

Rahul Akolkar resolved JEXL-24.
-------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 1.1.1)

This should be fixed in the 2.0 branch in SVN. Please try it out (by building the branch)
and if further work is needed, reopen this issue with a complete JUnit test that fails.


> Support Long for integer literal instead of Integers
> ----------------------------------------------------
>
>                 Key: JEXL-24
>                 URL: https://issues.apache.org/jira/browse/JEXL-24
>             Project: Commons JEXL
>          Issue Type: Improvement
>    Affects Versions: 2.0, 1.1
>            Reporter: dion gillard
>            Priority: Minor
>             Fix For: 2.0
>
>         Attachments: JEXL-24.patch.txt
>
>
> Manisha Athavale reports:
> Hello,
>      We use the jexl 1.1 jar for simple expression evaluation. The parser throws number
format exception when gave expression like "3988514195 - SP". What is the limit for constants
used in expression? Actually, there should not be any limit for constants in the expression,
is it correct?
> Integer literals (such as the one above) are bound by Integer.MAX_VALUE. You may have
better luck changing the value to 3988514195.0
> Consider this a request for integer literals to be stored as Longs

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message