[jira] [Resolved] (GROOVY-8495) GroovyObject method implementations are marked with ACC_SYNTHETIC

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

[jira] [Resolved] (GROOVY-8495) GroovyObject method implementations are marked with ACC_SYNTHETIC

JIRA jira@apache.org

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

Paul King resolved GROOVY-8495.
-------------------------------
    Resolution: Fixed

Resolving just for 3.0 for now. We can add a 2.5.x fix version if/when we backport to 2_5_X.

> GroovyObject method implementations are marked with ACC_SYNTHETIC
> -----------------------------------------------------------------
>
>                 Key: GROOVY-8495
>                 URL: https://issues.apache.org/jira/browse/GROOVY-8495
>             Project: Groovy
>          Issue Type: Bug
>          Components: bytecode, class generator, Compiler
>            Reporter: Daniil Ovchinnikov
>            Assignee: Paul King
>            Priority: Critical
>             Fix For: 3.0.0-alpha-4
>
>
> {code}
> class GroovyClass {}
> {code}
> {noformat:title=javap -v (stripped)}
> ...
> public class com.example.groovylib.GroovyClass implements groovy.lang.GroovyObject
>   flags: ACC_PUBLIC, ACC_SUPER
> ...
> {
>   public static transient boolean __$stMC;
>     descriptor: Z
>     flags: ACC_PUBLIC, ACC_STATIC, ACC_TRANSIENT, ACC_SYNTHETIC
>   public com.example.groovylib.GroovyClass();
>     descriptor: ()V
>     flags: ACC_PUBLIC
>   protected groovy.lang.MetaClass $getStaticMetaClass();
>     descriptor: ()Lgroovy/lang/MetaClass;
>     flags: ACC_PROTECTED, ACC_SYNTHETIC
>   public groovy.lang.MetaClass getMetaClass();
>     descriptor: ()Lgroovy/lang/MetaClass;
>     flags: ACC_PUBLIC, ACC_SYNTHETIC
>   public void setMetaClass(groovy.lang.MetaClass);
>     descriptor: (Lgroovy/lang/MetaClass;)V
>     flags: ACC_PUBLIC, ACC_SYNTHETIC
>    
>   public java.lang.Object invokeMethod(java.lang.String, java.lang.Object);
>     descriptor: (Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
>     flags: ACC_PUBLIC, ACC_SYNTHETIC
>    
>   public java.lang.Object getProperty(java.lang.String);
>     descriptor: (Ljava/lang/String;)Ljava/lang/Object;
>     flags: ACC_PUBLIC, ACC_SYNTHETIC
>   public void setProperty(java.lang.String, java.lang.Object);
>     descriptor: (Ljava/lang/String;Ljava/lang/Object;)V
>     flags: ACC_PUBLIC, ACC_SYNTHETIC
> }
> SourceFile: "GroovyClass.groovy"
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)