[jira] [Created] (GROOVY-8736) DGM method containing an Integer[]

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[jira] [Created] (GROOVY-8736) DGM method containing an Integer[]

JIRA jira@apache.org
Paul King created GROOVY-8736:

             Summary: DGM method containing an Integer[]
                 Key: GROOVY-8736
                 URL: https://issues.apache.org/jira/browse/GROOVY-8736
             Project: Groovy
          Issue Type: Improvement
         Environment:  JDK8 and 10 on Windows tried so far.
            Reporter: Paul King

I first created the DGM {{chop}} methods using {{Integer...}} and {{Integer[]}}. For some strange reason, the {{loader.loadClass(name)}} statement in {{GeneratedMetaMethod#loadDgmInfo()}} was failing just for the name {{"[Ljava.lang.Integer;"}} but working for everything else. This meant that the {{chop}} methods weren't added to the meta methods list even though the methods were in the DGM class file.

This message was sent by Atlassian JIRA