Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.5.5
-
Fix Version/s: 1.6-beta-1, 1.5.7
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
From GROOVY-1875:
def s = '12'
s.value = 'ABCD'
println s
==>
AB
The 'value' field is a private final variable in class java.lang.String.
Therfore Groovy makes String mutable!
Activity
blackdrag blackdrag
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Fix Version/s | 1.5.6 [ 14189 ] | |
| Fix Version/s | 1.6-beta-1 [ 14008 ] | |
| Priority | Blocker [ 1 ] | Major [ 3 ] |
blackdrag blackdrag
made changes -
| Assignee | Jochen Theodorou [ blackdrag ] |
blackdrag blackdrag
made changes -
| Fix Version/s | 1.5.6 [ 14189 ] | |
| Fix Version/s | 1.5.7 [ 14242 ] |
blackdrag blackdrag
made changes -
| Resolution | Fixed [ 1 ] | |
| Status | Open [ 1 ] | Closed [ 6 ] |