typhoid / google-gson

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

LinkedHashTreeMap comparator problem #521

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Run the attached java code with the gson library attached. 

What is the expected output? What do you see instead?
When getting the "key" key from the map, this map gives null, however when I 
iterate through its entryset, both the key and value is contained. For 
double-check, the JDK hashmap gives back the proper value. 

What version of the product are you using? On what operating system?
Gson 2.2.3 on both windows 7 and redhat and ubuntu linux. 

Please provide any additional information below.
Run it, and the problem will be visible from the standard output. Quite serious 
I think...

Original issue reported on code.google.com by d.biszt...@googlemail.com on 12 Jun 2013 at 9:06

Attachments:

GoogleCodeExporter commented 9 years ago
Seems to have been fixed in 2.2.4.  Did you try with the latest version?

Original comment by haripr...@gmail.com on 3 Aug 2013 at 1:41

GoogleCodeExporter commented 9 years ago
This same exact issue occurred for me as well and seems Gson 2.2.4 fixed it.

Original comment by pradeep....@gmail.com on 19 Oct 2013 at 2:34