My favorites | Sign in
Project Home Downloads Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 63: Gson is not threadsafe
3 people starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  inder123
Closed:  Oct 2008


Sign in to add a comment
 
Project Member 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


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

Powered by Google Project Hosting