Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

org.springframework.aop.framework.DefaultAopProxyFactory Serializable without Serialization UID #23044

Closed
mattwmj opened this issue May 28, 2019 · 1 comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) status: duplicate A duplicate of another issue

Comments

@mattwmj
Copy link

mattwmj commented May 28, 2019

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

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label May 28, 2019
@jhoeller jhoeller self-assigned this Jun 7, 2019
@rstoyanchev rstoyanchev added the in: core Issues in core modules (aop, beans, core, context, expression) label Nov 10, 2021
@snicoll
Copy link
Member

snicoll commented Nov 12, 2023

Sorry this got overlooked, and this has been implemented in the meantime.

Duplicate of #27784

@snicoll snicoll closed this as not planned Won't fix, can't repro, duplicate, stale Nov 12, 2023
@snicoll snicoll added status: duplicate A duplicate of another issue and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Nov 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) status: duplicate A duplicate of another issue
Projects
None yet
Development

No branches or pull requests

5 participants