What steps will reproduce the problem?
1. Create POJO with filled ConcurrentNavigableMap field
2. Sirialize to json string
3. Desirialize from json string
What is the expected output? What do you see instead?
Original state is expected. IllegalArgumentException is thrown
What version of the product are you using? On what operating system?
Gson 2.3.1, java 8, windows 7
Please provide any additional information below.
Gson works only with class type field such as ConcurrentSkipListMap.
Good programming style is using interface type such as ConcurrentNavigableMap.
See attach for log and unit-test
Original issue reported on code.google.com by dkhomya...@gmail.com on 29 Jan 2015 at 8:34
Original issue reported on code.google.com by
dkhomya...@gmail.com
on 29 Jan 2015 at 8:34Attachments: