Details
-
Type:
Task
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: 3.0
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
this task collects all the issues related to a privae field being visible, when it should not be visible
Issue Links
| This issue relates to: | ||||
| GROOVY-2433 | Closure in base class unable to call private methods when invoked from derived class |
|
|
|
| This issue is related to: | ||||
| GROOVY-3142 | Unable to access inherited private fields from a closure within an inherited method |
|
|
|
| This issue is depended upon by: | ||||
| GROOVY-3073 | Private inheritance bug: Closure accessing private method |
|
|
|
| GROOVY-2503 | MOP 2.0 design inflluencing issues |
|
|
|
I just read Neal Ford's book "The Productive Programmer". And in chapter 12 "Meta-Programming" he just picked this bug to show testing a private method of Java with Groovy. Here is a quote:
Maybe there is a way to give the testing community an option to allow the access of private methods/fields in testcases?