org.springframework.aop.framework.DefaultAopProxyFactory Serializable without Serialization UID #23044
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
status: duplicate
A duplicate of another issue
I am using SkyWalking javaagent to enhance DefaultAopProxyFactory which changes the class structures.
Since DefaultAopProxyFactory has no static serialization uid specified, the change of class structure changes the calculated Serialization UID.
When serialize/deserialize the enhanced DefaultAopProxyFactory instance, because of the Serialization UID inconsistence, java.io.InvalidClassException happens.
I believe that DefaultAopProxyFactory with static serialization UID could avoid similar problems.
FYI
apache/skywalking#2768
spring-attic/spring-security-oauth#1684
The text was updated successfully, but these errors were encountered: