rishabhdaim opened a new pull request, #448: URL: https://github.com/apache/jackrabbit-filevault/pull/448
## Summary Validate configured include/exclude classes against ItemFilter before instantiation, preventing unrelated classes from being initialized while parsing config.xml. Reject the historic Class#FIELD syntax as well. ## Branch adaptations - Retain the 3.2.x reflection API and exception-handling conventions, preserving the original untyped creation overload. - Advance the exported config package from 2.5.0 to 2.6.0 for the new overload and document its availability in bundle 3.2.9. - Do not introduce the newer site documentation tree, which is absent on this branch. - Expand the original three tests to 24 JUnit 4 tests covering helper behavior, errors, compatibility, and actual include/exclude config parsing. ## Verification - All 24 tests pass on both Oak and Jackrabbit using Java 8. - Against the unchanged original config implementation, all four parser regressions fail and initialize the unrelated canary class; both valid-config controls pass. - All current-source vault-core tests: 628 cases per backend, zero failures/errors; 14 Oak and 18 Jackrabbit skips. - Diff formatting checks pass. Spotless is not configured on this branch. ## Links - https://issues.apache.org/jira/browse/JCRVLT-862 Co-Authored-By: GitHub Copilot <[email protected]> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
