Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0-RC-1
-
None
-
None
-
Windows Vista Home Premium, JDK 6.0
Also Linux Fedora Core 3, JDK 1.5
Description
(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().