Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0-JSR-6
-
None
-
None
-
A recent build of 1.0-RC1
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.
Attachments
Attachments
Issue Links
- depends upon
-
GROOVY-2503 MOP 2.0 design inflluencing issues
- Open