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

64K limit on strings -- Caught: java.lang.ClassFormatError: Unknown constant tag 84 in class file test

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5
    • 1.6-rc-1, 1.5.8, 1.7-beta-1
    • bytecode
    • None
    • Fedora Core 7 64-bit running 32-bit jdk 1.5.10

    Description

      Assigning a string of 65535 characters or larger results in this error: Caught: java.lang.ClassFormatError: Unknown constant tag 84 in class file test.

      Attached testcase's string is exactly 65535 characters. Removing a single character from the string eliminates this error.

      Attachments

        1. test.groovy
          64 kB
          Jonathan Meeks

        Activity

          People

            blackdrag Jochen Theodorou
            jmeeks Jonathan Meeks
            Votes:
            2 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: