This commit is contained in:
Looly
2025-06-14 19:02:25 +08:00
parent 2a602d0bd4
commit 41141cd824
3 changed files with 32 additions and 1 deletions

View File

@@ -917,7 +917,9 @@ public class ClassUtil {
&& false == clazz.isArray() //
&& false == clazz.isAnnotation() //
&& false == clazz.isSynthetic() //
&& false == clazz.isPrimitive();//
&& false == clazz.isPrimitive()//
// issue#3965 String有isEmpty方法但是不能被当作bean
&& clazz != String.class;//
}
/**