@@ -0,0 +1,845 @@
+package com.alibaba.json.bvt.bug;%0A%0Aimport com.alibaba.fastjson.JSON;%0Aimport com.alibaba.fastjson.serializer.SerializeConfig;%0Aimport com.alibaba.fastjson.serializer.SerializerFeature;%0A%0Aimport junit.framework.TestCase;%0A%0Apublic class Bug_for_issue_184 extends TestCase %7B%0A%0A    public void test_for_issue() throws Exception %7B%0A        TUser user = new TUser();%0A        user.id = 1001;%0A        // %E7%A6%81%E7%94%A8asm(%E5%9C%A8android%E4%B8%8B%E4%BD%BF%E7%94%A8)%EF%BC%8C%E5%90%AF%E7%94%A8asm%E5%88%99%E6%B2%A1%E9%97%AE%E9%A2%98%E3%80%82%0A        SerializeConfig.getGlobalInstance().setAsmEnable(false);%0A        String json = JSON.toJSONString(user, SerializerFeature.WriteClassName);%0A        // %E8%BE%93%E5%87%BA%7B%22@type%22:%22xx.TUser%22,%22id%22:0L%7D%0A        System.out.println(json);%0A        // %E4%B8%8B%E9%9D%A2%E5%8F%8D%E7%B3%BB%E5%88%97%E5%8C%96%E9%94%99%E8%AF%AF%EF%BC%9Acom.alibaba.fastjson.JSONException: unclosed.str%0A        // %E5%8E%9F%E5%9B%A0%EF%BC%9Aid%E5%B8%A6L%E5%90%8E%E7%BC%80%0A        user = (TUser) JSON.parse(json);%0A    %7D%0A%0A    public static class TUser %7B%0A%0A        public long id;%0A    %7D%0A%7D%0A

add testcase for issue 228. https://github.com/alibaba/fastjson/issues/288