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.
2 parents b7e6a3a + c833a6c commit fbfa4b2Copy full SHA for fbfa4b2
src/main/java/com/alibaba/fastjson/serializer/JSONSerializer.java
@@ -501,7 +501,8 @@ public ObjectSerializer getObjectWriter(Class<?> clazz) {
501
boolean isCglibProxy = false;
502
boolean isJavassistProxy = false;
503
for (Class<?> item : clazz.getInterfaces()) {
504
- if (item.getName().equals("net.sf.cglib.proxy.Factory")) {
+ if (item.getName().equals("net.sf.cglib.proxy.Factory")
505
+ || item.getName().equals("org.springframework.cglib.proxy.Factory")) {
506
isCglibProxy = true;
507
break;
508
} else if (item.getName().equals("javassist.util.proxy.ProxyObject")) {
0 commit comments