Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-768

divide 0 by any other number => groovy soils its breeches

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.0-beta-10
    • 1.0-JSR-1
    • None
    • None
    • J2SE 1.5.0_01, windows xp, "classic" (non-JSR) parser

    Description

      put this line in a script called "test.groovy":

      0 / 2;

      Groovy and the JVM spin out of control, eating all CPU. Process must be killed.
      Note: any expression that divides zero by another number will do this,
      even if the numbers are obtained by method calls, so it's not a parsing problem.

      Attachments

        Activity

          People

            blackdrag Jochen Theodorou
            stevey Steve Yegge
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: