diff options
Diffstat (limited to 'src/main/javassist/CtArray.java')
-rw-r--r-- | src/main/javassist/CtArray.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/javassist/CtArray.java b/src/main/javassist/CtArray.java index e46f24b5..55925483 100644 --- a/src/main/javassist/CtArray.java +++ b/src/main/javassist/CtArray.java @@ -41,7 +41,8 @@ final class CtArray extends CtClass { String cname = clazz.getName(); if (cname.equals(javaLangObject) - || cname.equals("java.lang.Cloneable")) + || cname.equals("java.lang.Cloneable") + || cname.equals("java.io.Serializable")) return true; return clazz.isArray() |