mathwl / google-gson

Automatically exported from code.google.com/p/google-gson
0 stars 0 forks source link

document thread safety of Gson objects #482

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Look at user guide - no mention of Gson's thread safety
2. Look at Javadoc for the Gson class - no mention of Gson's thread safety
3. Search the site - no mention of Gson's thread safety

What is the expected output? What do you see instead?
I expect the user guide and/or the Gson class's javadoc to specify Gson's 
thread safety.

What version of the product are you using? On what operating system?
N/A

Please provide any additional information below.
Every sign points to Gson objects being thread safe and they seem to work if 
shared between threads.

Original issue reported on code.google.com by j...@dataminr.com on 18 Oct 2012 at 7:03

GoogleCodeExporter commented 9 years ago
It's an easy fix. We should do this.

Original comment by limpbizkit on 4 Feb 2013 at 3:36

GoogleCodeExporter commented 9 years ago
Can you please give a timeline on when this issue will be fixed?

Thanks,
Steven

Original comment by steventu...@gmail.com on 4 Dec 2013 at 6:08

GoogleCodeExporter commented 9 years ago

It would be great if you used the annotations from 
com.google.code.findbugs/jsr305/2.0.0

Original comment by ear...@gmail.com on 15 Dec 2013 at 12:04

GoogleCodeExporter commented 9 years ago
Gson is not thread safe in my test, which version are you using?

Original comment by Daniel.Y...@gmail.com on 2 Jan 2014 at 2:43