Skip to content

Commit

Permalink
Merge pull request #3484 from Koooooo-7/fix-3469
Browse files Browse the repository at this point in the history
[Fix #3469] add Proxy check case.
  • Loading branch information
wenshao committed Nov 2, 2020
2 parents 07f1dd2 + 789f983 commit 89f42e2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/com/alibaba/fastjson/util/TypeUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -2733,6 +2733,9 @@ public static boolean isProxy(Class<?> clazz){
if (interfaceName.equals("org.hibernate.proxy.HibernateProxy")) {
return true;
}
if (interfaceName.equals("org.springframework.context.annotation.ConfigurationClassEnhancer$EnhancedConfiguration")){
return true;
}
}
return false;
}
Expand Down

0 comments on commit 89f42e2

Please sign in to comment.