fastjson能否规避ConcurrentModificationException异常?
< 返回列表时间: 2013-09-19来源:开源中国
HDC调试需求开发(15万预算),能者速来!>>>
@wenshao 你好,想跟你请教个问题:
fastjson能否规避ConcurrentModificationException异常?
Caused by: java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextEntry(HashMap.java:894)
at java.util.HashMap$KeyIterator.next(HashMap.java:928)
at com.alibaba.fastjson.serializer.CollectionSerializer.write(CollectionSerializer.java:68)
at com.alibaba.fastjson.serializer.JSONSerializer.write(JSONSerializer.java:369)
at com.alibaba.fastjson.JSON.toJSONString(JSON.java:520)



谢谢!
热门排行