Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
The folowing throws a MissingPropertyException:
import groovy.util.logging.* @Log class A { void logSth() { 2.times { 1.times { log.info 'sth' } } } } class B extends A {} new B().logSth()
Note that exception is not thrown if the method is called on the parent class (new A().logSth()) and if log property is accessed from a non-nested closure.
Attachments
Issue Links
- is related to
-
GROOVY-2433 Closure in base class unable to call private methods when invoked from derived class
- Closed