fix hessian2 serialization infinit recursion(StackOverflowError) when object's writeR...
authorJason Song <nobodyiam@gmail.com>
Fri, 13 Jul 2018 02:24:29 +0000 (10:24 +0800)
committerJerrick Zhu <diecui1202@gmail.com>
Fri, 13 Jul 2018 02:24:29 +0000 (10:24 +0800)
commit891c2b039e917cbd51606d23d934f8e11df9763b
tree0fe35c79a93b04f6b105526118ea7ae1f7deefb7
parent447d963c915340c2fdb0fa720de3ed6236263df0
fix hessian2 serialization infinit recursion(StackOverflowError) when object's writeReplace method returns the object itself. (#1)
src/main/java/com/alibaba/com/caucho/hessian/io/JavaSerializer.java
src/test/java/com/alibaba/com/caucho/hessian/io/writereplace/Hessian2WriteReplaceTest.java [new file with mode: 0644]