@@ -0,0 +1,1188 @@
+package com.alibaba.json.bvt.issue_2300;%0A%0Aimport com.alibaba.fastjson.JSON;%0Aimport com.alibaba.fastjson.TypeReference;%0Aimport com.alibaba.fastjson.annotation.JSONField;%0Aimport junit.framework.TestCase;%0A%0Aimport java.util.List;%0A%0Apublic class Issue2371 extends TestCase %7B%0A    public void test_for_issue() throws Exception %7B%0A        RpcRespObj%3CList%3CResource%3E%3E resources = convertResult(Resource.class);%0A        assertEquals(2, resources.data.get(0).resourceId.intValue());%0A        assertEquals(%22own%E4%BD%9B%E6%81%A9%22, resources.data.get(0).resourceName);%0A    %7D%0A%0A    public static %3CT%3E RpcRespObj%3CList%3CT%3E%3E convertResult(Class%3CT%3E type) %7B%0A        String str = %22%7B%5C%22status%5C%22:0,%5C%22data%5C%22:%5B%7B%5C%22resourceId%5C%22:2,%5C%22resourceName%5C%22:%5C%22own%E4%BD%9B%E6%81%A9%5C%22,%5C%22systemCode%5C%22:%5C%22ad%5C%22%7D%5D%7D%22;%0A        RpcRespObj%3CList%3CT%3E%3E result = JSON.parseObject(str, new TypeReference%3CRpcRespObj%3CList%3CT%3E%3E%3E(type) %7B%7D);%0A        return result;%0A    %7D%0A%0A%0A    public static class RpcRespObj%3CT%3E %7B%0A        public Integer status;%0A        public Integer errcode;%0A        public Integer errno;%0A        public T data;%0A    %7D%0A%0A%0A    public static class Resource %7B%0A        public Integer resourceId;%0A        public String resourceName;%0A        public String systemCode;%0A%0A%0A    %7D%0A%7D%0A

add testcase for issue #2371