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

[Java] Skip toString in annotation invocation handler readObject #922

Merged
merged 2 commits into from
Sep 21, 2023

Conversation

chaokunyang
Copy link
Collaborator

@chaokunyang chaokunyang commented Sep 21, 2023

What do these changes do?

Skip toString in annotation invocation handler readObject by fury serialization.

readObject only check wrong types, it's ok to use fury serialization

Disclaimer:
This toString can be invoked only when Fury class registration disabled. Please don't disable it if your environent is not safe.

Related issue number

Closes #xxxx

Check code requirements

  • tests added / passed (if needed)
  • Ensure all linting tests pass, see here for how to run them

@chaokunyang chaokunyang merged commit b2b9aef into apache:main Sep 21, 2023
2 checks passed
chaokunyang added a commit that referenced this pull request Sep 27, 2023
…922)

* Use fury serialization to avoid AnnotationInvocationHandler#readObject

* Use fury serialization to avoid AnnotationInvocationHandler#readObject
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant