You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Eric Milles (Jira)" <ji...@apache.org> on 2022/05/22 16:07:00 UTC

[jira] [Updated] (GROOVY-1300) ClassFormatError: Invalid method Code ... thrown when using JOGL

     [ https://issues.apache.org/jira/browse/GROOVY-1300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Milles updated GROOVY-1300:
--------------------------------
    Labels: ClassFormatError  (was: )

> ClassFormatError: Invalid method Code ... thrown when using JOGL
> ----------------------------------------------------------------
>
>                 Key: GROOVY-1300
>                 URL: https://issues.apache.org/jira/browse/GROOVY-1300
>             Project: Groovy
>          Issue Type: Bug
>          Components: class generator
>    Affects Versions: 1.0-JSR-6
>            Reporter: Edward Povazan
>            Assignee: Jochen Theodorou
>            Priority: Critical
>              Labels: ClassFormatError
>             Fix For: 1.1-beta-1
>
>         Attachments: ClassFormatErrorDemo.groovy
>
>
> 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.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)