diff --git a/agama/transpiler/src/main/java/io/jans/agama/dsl/VarsTransformer.java b/agama/transpiler/src/main/java/io/jans/agama/dsl/VarsTransformer.java index 0f0a97979c4..7cfcc65e94d 100644 --- a/agama/transpiler/src/main/java/io/jans/agama/dsl/VarsTransformer.java +++ b/agama/transpiler/src/main/java/io/jans/agama/dsl/VarsTransformer.java @@ -32,6 +32,9 @@ public class VarsTransformer { // http://web.archive.org/web/20210304081342/https://developer.mozilla.org/en-US/docs/Scripting_Java "Packages", + // Prevent rhino trying to interpret an expression as a package reference + "java", + // See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects // function names not included because they cannot be invoked from DSL code // Control abstraction objects (except Promise), Reflection, Internationalization, diff --git a/jans-bom/pom.xml b/jans-bom/pom.xml index 5d2f95c34f3..afcc2f702d1 100644 --- a/jans-bom/pom.xml +++ b/jans-bom/pom.xml @@ -273,7 +273,7 @@ com.nimbusds nimbus-jose-jwt - 9.25.6 + 9.28