[ https://issues.apache.org/jira/browse/GROOVY-9487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Sun updated GROOVY-9487: ------------------------------- Fix Version/s: 3.0.3 4.0.0-alpha-1 > Update and check if initialized via same field of metaclass > ----------------------------------------------------------- > > Key: GROOVY-9487 > URL: https://issues.apache.org/jira/browse/GROOVY-9487 > Project: Groovy > Issue Type: Improvement > Reporter: Daniel Sun > Assignee: Daniel Sun > Priority: Major > Fix For: 4.0.0-alpha-1, 3.0.3 > > > {{MetaClassImpl}} has its own *private* field {{initiliazed}}, when > {{initialize()}} is completed, the field will be updated to {{true}}, but > check if metaclass is initialized via method {{protected boolean > isInitialized()}}, which could be overrided by its subclass, e.g. EMC. The > subclasses can not access its base class's private field. As a result, > updating {{MetaClassImpl}}'s private {{initiliazed}} but may check its > subclass's some field like {{initiliazed}}. -- This message was sent by Atlassian Jira (v8.3.4#803005)