diff options
Diffstat (limited to 'src/main/javassist/util/proxy/ProxyObjectOutputStream.java')
-rw-r--r-- | src/main/javassist/util/proxy/ProxyObjectOutputStream.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/javassist/util/proxy/ProxyObjectOutputStream.java b/src/main/javassist/util/proxy/ProxyObjectOutputStream.java index 85a9adf7..31c3861b 100644 --- a/src/main/javassist/util/proxy/ProxyObjectOutputStream.java +++ b/src/main/javassist/util/proxy/ProxyObjectOutputStream.java @@ -57,7 +57,7 @@ public class ProxyObjectOutputStream extends ObjectOutputStream writeInt(interfaces.length - 1); for (int i = 0; i < interfaces.length; i++) { Class interfaze = interfaces[i]; - if (interfaze != ProxyObject.class) { + if (interfaze != ProxyObject.class && interfaze != Proxy.class) { name = interfaces[i].getName(); writeObject(name); } |