Skip to content

Conversation

@opwvhk
Copy link
Contributor

@opwvhk opwvhk commented Aug 10, 2025

What is the purpose of the change

SpecificDatumReader.SERIALIZABLE_PACKAGES was used as a list of class name prefixes instead of the package names it is designed as. This change forces the provided package names to be package names.

Verifying this change

This change is a near-trivial refactoring without any test coverage.

Tests should be added, but this is a larger undertaking than a quick fix.

Documentation

  • Does this pull request introduce a new feature? (yes / no)
  • If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

@github-actions github-actions bot added the Java Pull Requests for Java binding label Aug 10, 2025
@opwvhk opwvhk force-pushed the allowed-packages-must-be-backages branch from c935d51 to f2609c6 Compare August 10, 2025 14:21
@opwvhk opwvhk merged commit 3008aae into apache:main Aug 10, 2025
9 checks passed
@opwvhk opwvhk deleted the allowed-packages-must-be-backages branch August 10, 2025 15:20
opwvhk added a commit to opwvhk/avro that referenced this pull request Sep 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Java Pull Requests for Java binding

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant