Details
-
Sub-task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.1-beta-1
-
None
-
None
-
Windows XP - Java 1.6.0 - Groovy 1.1-beta-1
Description
class Test {
private text
private def getText()
private void setText( text )
{ this.text = text * 10 }}
using the previous class with the following script
x = new Test()
x.text = "z"
println x.text
give the result: "ZZZZZZZZZZ"
Attachments
Issue Links
- is duplicated by
-
GROOVY-3010 fix private field visibility
- Open
- relates to
-
GROOVY-1063 No access protection for private static fields
- Open
-
GROOVY-1591 Private Fields Are Accessible From Other Classes
- Open