Daniel Sun created GROOVY-9487:
----------------------------------
Summary: Check 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
{{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)