Details
-
Type:
Sub-task
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.0-JSR-6
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:A recent build of 1.0-RC1
-
Testcase included:yes
-
Number of attachments :
Description
Java:
public class A
Groovy
class B extends A { doGreet =
}
new B().doGreet().call()
Both A and B are in the same package.
Code in the closure will throw a MissingPropertyException, as greeting is not accessible but it should be.
Changing this to either protected or public is a workaround.
Attached test cases perform various visibilty tests.
Issue Links
- depends upon
-
GROOVY-2503
MOP 2.0 design inflluencing issues
-