@@ -0,0 +1,1321 @@
+package com.alibaba.json.bvt.serializer;%0A%0Aimport java.util.LinkedList;%0Aimport java.util.List;%0Aimport java.util.concurrent.ConcurrentHashMap;%0Aimport java.util.concurrent.atomic.AtomicLong;%0A%0Aimport junit.framework.TestCase;%0A%0Aimport org.junit.Assert;%0A%0Aimport com.alibaba.fastjson.JSON;%0A%0Apublic class ConcurrentHashMapTest extends TestCase %7B%0A%0A    public void test_concurrentHashmap() throws Exception %7B%0A        OffsetSerializeWrapper wrapper = new OffsetSerializeWrapper();%0A        wrapper.getOffsetTable().put(new MessageQueue(), new AtomicLong());%0A        String text = JSON.toJSONString(wrapper);%0A        Assert.assertEquals(%22%7B%5C%22offsetTable%5C%22:%7B%7B%5C%22items%5C%22:%5B%5D%7D:0%7D%7D%22, text);%0A    %7D%0A%0A    public static class OffsetSerializeWrapper %7B%0A%0A        private ConcurrentHashMap%3CMessageQueue, AtomicLong%3E offsetTable = new ConcurrentHashMap%3CMessageQueue, AtomicLong%3E();%0A%0A        public ConcurrentHashMap%3CMessageQueue, AtomicLong%3E getOffsetTable() %7B%0A            return offsetTable;%0A        %7D%0A%0A        public void setOffsetTable(ConcurrentHashMap%3CMessageQueue, AtomicLong%3E offsetTable) %7B%0A            this.offsetTable = offsetTable;%0A        %7D%0A%0A    %7D%0A%0A    public static class MessageQueue %7B%0A%0A        private List%3CObject%3E items = new LinkedList%3CObject%3E();%0A%0A        public List%3CObject%3E getItems() %7B%0A            return items;%0A        %7D%0A%0A    %7D%0A%7D%0A

add testcase