We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83d3ec2 commit d0c7010Copy full SHA for d0c7010
src/main/java/com/fasterxml/jackson/databind/util/ClassUtil.java
@@ -1169,7 +1169,11 @@ public static Method[] getClassMethods(Class<?> cls)
1169
ex.addSuppressed(e);
1170
return _failGetClassMethods(cls, ex);
1171
}
1172
- return contextClass.getDeclaredMethods(); // Cross fingers
+ try {
1173
+ return contextClass.getDeclaredMethods(); // Cross fingers
1174
+ } catch (Throwable t) {
1175
+ return _failGetClassMethods(cls, t);
1176
+ }
1177
} catch (Throwable t) {
1178
return _failGetClassMethods(cls, t);
1179
0 commit comments