Skip to content

Commit

Permalink
Merge pull request #724 from shalousun/master
Browse files Browse the repository at this point in the history
fix #722, Ignore NoClassDefFoundError
  • Loading branch information
shalousun authored Feb 3, 2024
2 parents acfc7ce + 2feb793 commit d6bbb2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/ly/doc/utils/JavaClassUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -817,7 +817,7 @@ private static String getFieldGenericType(JavaField javaField, ClassLoader class
f.setAccessible(true);
Type t = f.getGenericType();
return StringUtil.trim(t.getTypeName());
} catch (NoSuchFieldException | ClassNotFoundException e) {
} catch (NoSuchFieldException | ClassNotFoundException | NoClassDefFoundError e) {
return null;
}
}
Expand Down

0 comments on commit d6bbb2d

Please sign in to comment.