This is an automated email from the ASF dual-hosted git repository.
rong pushed a commit to branch test-4
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/test-4 by this push:
new eb458ce69b5 Update ClusterConfigTaskExecutor.java
eb458ce69b5 is described below
commit eb458ce69b57c3ab5042da98f336f8d6ad0b11e6
Author: Steve Yurong Su <[email protected]>
AuthorDate: Fri Jun 20 15:20:19 2025 +0800
Update ClusterConfigTaskExecutor.java
---
.../plan/execution/config/executor/ClusterConfigTaskExecutor.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/execution/config/executor/ClusterConfigTaskExecutor.java
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/execution/config/executor/ClusterConfigTaskExecutor.java
index a1e13c36ff7..556e785bcf2 100644
---
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/execution/config/executor/ClusterConfigTaskExecutor.java
+++
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/execution/config/executor/ClusterConfigTaskExecutor.java
@@ -630,7 +630,7 @@ public class ClusterConfigTaskExecutor implements
IConfigTaskExecutor {
"SANDBOX: UDF {} class {} is trying to access restricted
class, which is not allowed",
createFunctionStatement.getUdfName(),
name);
- throw new SecurityException(
+ throw new ClassNotFoundException(
String.format(
"UDF %s is trying to access restricted class %s, which
is not allowed",
createFunctionStatement.getUdfName(), name));