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

Invalid method code length

    XMLWordPrintableJSON

Details

    Description

      Hi,

      compiling some rather huge scripts which are not splitted into separate methods in 2.0-beta-2 fails with

      java.lang.ClassFormatError: Invalid method Code length 103011 in class file script13317411350371015768459

      None of the scripts failed in other versions (the last one being used was 1.8.0-rc3).

      I understand this is originally a jvm limitation and there's a bug from 1999 at http://bugs.sun.com/view_bug.do?bug_id=4262078 but still think you might want to look at this issue.

      Unfortunately I can't provide a testcase as those scripts run integrated into a webapp, but I'm sure it's easily reproducable (most scripts run fine, only the bigesst fail).

      Best regards,

      David

      Attachments

        1. test.groovy
          322 kB
          David Hansmann

        Activity

          People

            blackdrag Jochen Theodorou
            dhansmann David Hansmann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: