This is an automated email from the ASF dual-hosted git repository.

winterhazel pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/main by this push:
     new 1853435185f Fix RESTRICTED_TOKENS typo issue (#12709)
1853435185f is described below

commit 1853435185f5b2712fd605a1a9a2df726b2ce5dc
Author: Robin Karlberg <[email protected]>
AuthorDate: Mon Jun 29 23:22:49 2026 +0200

    Fix RESTRICTED_TOKENS typo issue (#12709)
---
 .../java/org/apache/cloudstack/utils/jsinterpreter/JsInterpreter.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/utils/src/main/java/org/apache/cloudstack/utils/jsinterpreter/JsInterpreter.java
 
b/utils/src/main/java/org/apache/cloudstack/utils/jsinterpreter/JsInterpreter.java
index 85799e0f561..d4242fd8ae7 100644
--- 
a/utils/src/main/java/org/apache/cloudstack/utils/jsinterpreter/JsInterpreter.java
+++ 
b/utils/src/main/java/org/apache/cloudstack/utils/jsinterpreter/JsInterpreter.java
@@ -62,7 +62,7 @@ public class JsInterpreter implements Closeable {
     protected Logger logger = LogManager.getLogger(JsInterpreter.class);
 
     protected static final List<String> RESTRICTED_TOKENS = Arrays.asList( 
"engine", "context", "factory",
-            "Java", "java", "Packages"," javax", "load", "loadWithNewGlobal", 
"print", "factory", "getClass",
+            "Java", "java", "Packages", "javax", "load", "loadWithNewGlobal", 
"print", "factory", "getClass",
             "runCommand", "Runtime", "exec", "ProcessBuilder", "Thread", 
"thread", "Threads", "Class", "class");
 
     protected ScriptEngine interpreter;

Reply via email to