-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.0-RC-1
-
Fix Version/s: 1.5
-
Component/s: None
-
Labels:None
-
Environment:Windows Vista Home Premium, JDK 6.0
Also Linux Fedora Core 3, JDK 1.5
(Test case isn't a JUnit test - it's a failing assertion)
Consider two classes - a parent and child. The parent has a property "foo" and the child overrides it.
A call to super.foo in the child class should be the same as a call to super.getFoo() (in simple cases). In fact, it turns out to be equivalent to a call to this.getFoo().