Janino

ArithmeticException in UnitCompiler.getConstantValue

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Testcase included:
    yes
  • Patch Submitted:
    Yes
  • Number of attachments :
    1

Description

Compiling the code

public int runIntDiv() {
        return 1 / 0;
    }

produces an ArithmeticException at compile time.

Activity

Hide
Arno Unkrig added a comment -

Your fix will go into the next version of JANINO.

Show
Arno Unkrig added a comment - Your fix will go into the next version of JANINO.
Hide
Matt Fowles added a comment -

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.

Show
Matt Fowles added a comment - 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.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: