Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0-JSR-2
-
None
-
None
-
WinXP, jdk1.5
Description
I get an illegal access error when accessing a private field from a closure,
see example:
class ClosurePrivateField {
def doIt() {
()
}
private String hallo = "hallo"
public static void main(String[] args)
{ new ClosurePrivateField().doIt() }}
Attachments
Issue Links
- is depended upon by
-
GROOVY-1381 new MOP implementation task
- Closed