Groovy
  1. Groovy
  2. GROOVY-2382

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5
    • Fix Version/s: 1.6-rc-1, 1.5.8, 1.7-beta-1
    • Component/s: bytecode
    • Labels:
      None
    • Environment:
      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.

      1. test.groovy
        64 kB
        Jonathan Meeks

        Activity

          People

          • Assignee:
            Jochen Theodorou
            Reporter:
            Jonathan Meeks
          • Votes:
            2 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development