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

Key: GROOVY-2534
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Alex Tkachman
Reporter: Graeme Rocher
Votes: 0
Watchers: 0
Operations

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

GString should be serializable

Created: 24/Jan/08 03:52 AM   Updated: 08/Feb/08 01:26 AM
Component/s: None
Affects Version/s: 1.5, 1.5.1
Fix Version/s: 1.5.2

Time Tracking:
Not Specified

Issue Links:
dependent
 


 Description  « Hide
Currently GString is not serializable so if you place a GString into a distributed cache or session which is replicated you get an NotSerializableException which forces you to write code like this:

session.setAttribute("foo", "hello $var".toString())

To explicitly convert to a String beforehand. GString should implement Serializable such that it calls toString() and writes the String out



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
David Smiley - 24/Jan/08 07:56 AM
FYI, this duplicates the earlier submitted GROOVY-855

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