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

View: New views
4 Messages — Rating Filter:   Alert me  

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

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

Reply to Author | View Threaded | Show Only this Message

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



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

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

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/JANINO-114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=135661#action_135661 ]

Arno Unkrig commented on JANINO-114:
------------------------------------

Your fix will go into the next version of JANINO.

> 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



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

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

Reply to Author | View Threaded | Show Only this Message


     [ 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



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

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

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/JANINO-114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=138758#action_138758 ]

Matt Fowles commented on JANINO-114:
------------------------------------

Arno, I do not have the ability to close this issue.  I think my login to Jira does not have the power.  You can consider this closed.

> 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