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

Eric Milles updated GROOVY-2433:
--------------------------------
    Environment:     (was: OS: Gentoo Linux; Groovy Version: 1.5.0; JVM: 
1.6.0-b105; Hardware: Dual Core HP Laptop)

> Closure in base class unable to call private methods when invoked from 
> derived class
> ------------------------------------------------------------------------------------
>
>                 Key: GROOVY-2433
>                 URL: https://issues.apache.org/jira/browse/GROOVY-2433
>             Project: Groovy
>          Issue Type: Sub-task
>          Components: groovy-runtime
>    Affects Versions: 1.5
>            Reporter: David Clark
>            Priority: Major
>         Attachments: testcase.zip
>
>
> Closures defined in base classes are not able to access private methods in 
> the same base class, when invoked from a derived class.  Java visibility 
> rules imply that this should not happen.  When the private methods are made 
> public, the error disappears.  Also, when the closure is converted to a 
> method the problem also disappears.  Compiling and running the TestCase class 
> included (along with Base class) should reproduce the problem.  It's easier 
> to see the problem than to try and describe it.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to