From 468f1739fca32b516b6b0863b1b777c7e84ad52c Mon Sep 17 00:00:00 2001 From: mek <573883887@qq.com> Date: Fri, 18 Nov 2022 16:42:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=AD=BB=E4=BB=A3=E7=A0=81=E5=88=A0=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/alibaba/fastjson/JSON.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main/java/com/alibaba/fastjson/JSON.java b/src/main/java/com/alibaba/fastjson/JSON.java index 6159c72b1b..f037d0d081 100644 --- a/src/main/java/com/alibaba/fastjson/JSON.java +++ b/src/main/java/com/alibaba/fastjson/JSON.java @@ -460,9 +460,6 @@ public static T parseObject(byte[] bytes, int offset, int len, IOUtils.close(gzipReader); } } - if (strVal == null && chars_len < 0) { - return null; - } if (strVal == null) { strVal = new String(chars, 0, chars_len);