Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.6-rc-1, 1.5.8, 1.7-beta-1
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
Issue Links
- is related to
-
GROOVY-2599
unable to overwritel toString() via MOP in some cases
-
Activity
blackdrag blackdrag
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Fix Version/s | 1.5.7 [ 14242 ] | |
| Fix Version/s | 1.6-beta-2 [ 14261 ] |
Guillaume Laforge
made changes -
| Fix Version/s | 1.5.8 [ 14630 ] | |
| Fix Version/s | 1.6-beta-2 [ 14261 ] | |
| Fix Version/s | 1.5.7 [ 14242 ] |
Roshan Dawrani
made changes -
| Attachment | 2801Patch.txt [ 37600 ] |
Paul King
made changes -
| Link | This issue is related to GROOVY-2599 [ GROOVY-2599 ] |
Roshan Dawrani
made changes -
| Assignee | Roshan Dawrani [ roshandawrani ] |
Roshan Dawrani
made changes -
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Fix Version/s | 1.6-rc-1 [ 14009 ] | |
| Fix Version/s | 1.7-beta-1 [ 14014 ] | |
| Resolution | Fixed [ 1 ] |
Paul King
made changes -
| Status | Resolved [ 5 ] | Closed [ 6 ] |
Currently, the delegate for the proxy created, when a map of closures is coerced into an interface, treats methods of java.lang.Object class a little differently. Such methods are not relayed to the map of closures that is being coerced. Instead they are called on the proxy delegate itself.
If toString() is to be excused from this behavior, the attached patch can probably be used for it (for 1.5.8).
rgds,
Roshan