History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: GROOVY-2459
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Paul King
Reporter: Ian Brandt
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
groovy

Qualified static property reference from static method of qualified class causes infinate recursion

Created: 30/Dec/07 01:03 PM   Updated: 08/Feb/08 01:26 AM
Component/s: None
Affects Version/s: 1.5.1
Fix Version/s: 1.5.2

Time Tracking:
Not Specified

File Attachments: 1. File StaticPropertiesTest.groovy (2 kb)

Environment:
Mac OS X 10.4.11 (8S2167)
Java HotSpot(TM) Client VM (build 1.5.0_13-121, mixed mode, sharing)

Testcase included: yes


 Description  « Hide
Referencing a classname qualified static property within a static method of the qualified class itself should access the field directly-at least within the property's own getter and setter-to prevent infinite recursion.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Ian Brandt - 30/Dec/07 01:06 PM
Trying the description again, this time without catching JIRA's "deleted" Wiki formatting:

Referencing a classname qualified static property within a static method of the qualified class itself should access the field directly, at least within the property's own getter and setter, to prevent infinite recursion.


Paul King - 01/Jan/08 01:28 AM
Can you try again with HEAD?

Paul King - 03/Jan/08 10:04 PM
I believe this is fixed.

Paul King - 08/Feb/08 01:26 AM
close off release 1.5.4