This is an automated email from the ASF dual-hosted git repository.
garydgregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-jexl.git
The following commit(s) were added to refs/heads/master by this push:
new c2afbfb6 Add messages when throwing NullPointerException.
c2afbfb6 is described below
commit c2afbfb6e91fa720bbc9010f749d977a612067cd
Author: Gary Gregory <[email protected]>
AuthorDate: Wed Jul 22 15:15:02 2026 -0400
Add messages when throwing NullPointerException.
---
.../java/org/apache/commons/jexl3/introspection/JexlPermissions.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/src/main/java/org/apache/commons/jexl3/introspection/JexlPermissions.java
b/src/main/java/org/apache/commons/jexl3/introspection/JexlPermissions.java
index dafa4a03..0f444dbc 100644
--- a/src/main/java/org/apache/commons/jexl3/introspection/JexlPermissions.java
+++ b/src/main/java/org/apache/commons/jexl3/introspection/JexlPermissions.java
@@ -139,7 +139,7 @@ public interface JexlPermissions {
*/
public ClassPermissions(final JexlPermissions delegate, final
Collection<String> allow) {
super(Objects.requireNonNull(delegate, "delegate"));
- allowedClasses = new HashSet<>(Objects.requireNonNull(allow));
+ allowedClasses = new HashSet<>(Objects.requireNonNull(allow, "allow"));
}
@Override