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

ClassFormatError: Invalid method Code ... thrown when using JOGL

    XMLWordPrintableJSON

Details

    Description

      To quote blackdrag's reply in the groovy-user mailing list:
      "... explanation:
      GL_GroovyReflector is a groovy generated class to access the public methods from GL. there is some kind of giant switch in there, which does lead to the method invocation... the problem is, that the size of a method is limited to 64k, 68692 bytes is too much."

      Attached is some code that will throw the exception. JOGL must be installed (native libraries and the jar) in the root.

      Attachments

        1. ClassFormatErrorDemo.groovy
          0.9 kB
          Edward Povazan

        Activity

          People

            blackdrag Jochen Theodorou
            emp Edward Povazan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: