This is an automated email from the ASF dual-hosted git repository.
henrib 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 6e6886f4 JEXL-451: restore JexlSandbox permission capabilities on
Object.class;
6e6886f4 is described below
commit 6e6886f429acd38a94b9fd9b6a7cd330ab69cf42
Author: Henrib <[email protected]>
AuthorDate: Mon Dec 1 20:49:36 2025 +0100
JEXL-451: restore JexlSandbox permission capabilities on Object.class;
---
src/main/java/org/apache/commons/jexl3/introspection/JexlSandbox.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/src/main/java/org/apache/commons/jexl3/introspection/JexlSandbox.java
b/src/main/java/org/apache/commons/jexl3/introspection/JexlSandbox.java
index f79ea0e5..08c0ccc7 100644
--- a/src/main/java/org/apache/commons/jexl3/introspection/JexlSandbox.java
+++ b/src/main/java/org/apache/commons/jexl3/introspection/JexlSandbox.java
@@ -302,7 +302,7 @@ public final class JexlSandbox {
if (permissions == null) {
// let's recurse on super classes
final Class<?> superClazz = clazz.getSuperclass();
- if (Object.class != superClazz) {
+ if (null != superClazz) {
permissions = inheritable(compute(superClazz, false));
}
}