Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.0-JSR-1
-
Fix Version/s: 1.5.2
-
Component/s: groovy-jdk
-
Labels:None
-
Number of attachments :
Description
Would it be better if the GString class be made Serializable? When I'm trying to assign a GString expression to a Map object, i.e.
m = ... a map ...
str = "hello"
str += " world!!!"
m["mykey"] = str
When I try to serialize "m", it fails to do so because m["mykey"] is a GString, which is not serializable.
Issue Links
| This issue depends upon: | ||||
| GROOVY-2534 | GString should be serializable |
|
|
|
and how should the serialization look like? I think what you really want is a normal String here, right?