diff --git a/pom.xml b/pom.xml index 2507e155ee..617dab5430 100644 --- a/pom.xml +++ b/pom.xml @@ -2,9 +2,15 @@ 4.0.0 - com.alibaba + + org.sonatype.oss + oss-parent + 9 + + + com.taobao.arthas fastjson - 1.2.80 + 1.2.80-fix jar fastjson @@ -15,8 +21,8 @@ 4.13.1 - true - true + false + false UTF-8 1.5 diff --git a/src/main/java/com/alibaba/fastjson/util/TypeUtils.java b/src/main/java/com/alibaba/fastjson/util/TypeUtils.java index cc1ea4ef09..0fb8964193 100644 --- a/src/main/java/com/alibaba/fastjson/util/TypeUtils.java +++ b/src/main/java/com/alibaba/fastjson/util/TypeUtils.java @@ -38,7 +38,6 @@ import java.lang.reflect.*; import java.math.BigDecimal; import java.math.BigInteger; -import java.security.AccessControlException; import java.sql.Clob; import java.text.ParseException; import java.text.SimpleDateFormat; @@ -2553,7 +2552,7 @@ static void setAccessible(AccessibleObject obj) { } try { obj.setAccessible(true); - } catch (AccessControlException error) { + } catch (Throwable error) { setAccessibleEnable = false; } }