henrib opened a new pull request, #411: URL: https://github.com/apache/commons-jexl/pull/411
## Summary - Adds `JexlFeatures.namespaceInstantiation(boolean)` to control whether a namespace bound to a `Class` or fully-qualified class name string is reflectively auto-instantiated into a functor. Default `true` preserves backward compatibility. - When disabled, only static methods of the bound class are reachable; no constructor is invoked. - String namespaces resolved to a class for static methods now go through the permission-aware `JexlUberspect.getClassByName` instead of loading the class directly. Closes JEXL-469. ## Test plan - [ ] `NamespaceInstantiationTest` covers enabled/disabled behaviour and static-only access - [ ] `mvn test` passes - [ ] `mvn` (full build including checkstyle) passes -- 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]
