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

(NegativeArraySizeException) cannot handle 128 variable expansions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0-beta-3
    • 1.0-beta-4
    • None
    • None
    • Tested on linux against current cvs tree 2004.02.21

    Description

      sb = new StringBuffer("<<<FOO\n")
      for (j in 0..127){ // 126 is okay.
      sb.append('$').append("

      {x}

      ")
      }
      sb.append("\nFOO\n")
      try

      { new groovy.lang.GroovyShell().evaluate(sb.toString(),"foo") }

      catch(NegativeArraySizeException e)

      { println(e) }

      Attachments

        Activity

          People

            Unassigned Unassigned
            fuller Robert Fuller
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: