My favorites | Sign in
Project Logo
Project hosting will be READ-ONLY Wednesday at 8am PST due to brief network maintenance.
             
New issue | Search
for
| Advanced search | Search tips
Issue 63: Gson is not threadsafe
2 people starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  inder123
Closed:  Oct 2008
Type-Defect
Priority-High


Sign in to add a comment
 
Reported by inder123, Oct 20, 2008
Gson throws ConcurrentModificationException when used concurrently. 
See the discussion in http://groups.google.com/group/google-
gson/browse_thread/thread/563bb51ee2495081


Comment 1 by inder123, Oct 20, 2008
I add a test for this in r274
Comment 2 by inder123, Oct 20, 2008
The culprit is ObjectNavigatorFactory which holds the memory stack reference. This 
stack must be held per call, not throughout the lifetime of Gson.
Comment 3 by inder123, Oct 20, 2008
Fixed in r276
Status: Fixed
Sign in to add a comment

Hosted by Google Code