Skip to content

Conversation

@micrictor
Copy link

What is the purpose of the change

This PR refactors the Java class deserialization checks into a separate class and applies the security checks on all deserialization paths.

Verifying this change

This change added tests and can be verified as follows:

  • Added unit tests to validate that permitted classes are allowed to deserialized, and that unpermitted classes are not
  • Tests validate both SERIALIZABLE_PACKAGES and SERIALIZABLE_CLASSES

Documentation

No new features.

@github-actions github-actions bot added Java Pull Requests for Java binding build labels Aug 14, 2025
@martin-g
Copy link
Member

This might be obsolete now with #3525

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Java Pull Requests for Java binding

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants