There was an error while loading. Please reload this page.
2 parents a234f9a + dd3de5f commit 3f009e1Copy full SHA for 3f009e1
1 file changed
src/main/java/com/alibaba/fastjson/util/TypeUtils.java
@@ -38,7 +38,6 @@
38
import java.lang.reflect.*;
39
import java.math.BigDecimal;
40
import java.math.BigInteger;
41
-import java.security.AccessControlException;
42
import java.sql.Clob;
43
import java.text.ParseException;
44
import java.text.SimpleDateFormat;
@@ -2553,7 +2552,7 @@ static void setAccessible(AccessibleObject obj) {
2553
2552
}
2554
try {
2555
obj.setAccessible(true);
2556
- } catch (AccessControlException error) {
+ } catch (Throwable error) {
2557
setAccessibleEnable = false;
2558
2559
0 commit comments