« Return to Thread: [janino-dev] [jira] Created: (JANINO-114) ArithmeticException in UnitCompiler.getConstantValue

[janino-dev] [jira] Resolved: (JANINO-114) ArithmeticException in UnitCompiler.getConstantValue

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View in Thread


     [ http://jira.codehaus.org/browse/JANINO-114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Fowles resolved JANINO-114.
--------------------------------

    Resolution: Fixed

> ArithmeticException in UnitCompiler.getConstantValue
> ----------------------------------------------------
>
>                 Key: JANINO-114
>                 URL: http://jira.codehaus.org/browse/JANINO-114
>             Project: Janino
>          Issue Type: Bug
>            Reporter: Matt Fowles
>            Assignee: Arno Unkrig
>         Attachments: arithmetic.patch
>
>
> Compiling the code
> {code}
> public int runIntDiv() {
>         return 1 / 0;
>     }
> {code}
> produces an ArithmeticException at compile time.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


 « Return to Thread: [janino-dev] [jira] Created: (JANINO-114) ArithmeticException in UnitCompiler.getConstantValue