Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LinkedHashTreeMap comparator problem #521

Closed
GoogleCodeExporter opened this issue Mar 19, 2015 · 3 comments
Closed

LinkedHashTreeMap comparator problem #521

GoogleCodeExporter opened this issue Mar 19, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

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
Copy link
Author

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

@Marcono1234
Copy link
Collaborator

The previous comments suggest this was fixed and also the changelog mentions that a hashing bug was fixed. Additionally that class does not exist anymore since #1992.

@eamonnmcmanus eamonnmcmanus closed this as not planned Won't fix, can't repro, duplicate, stale Jul 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants