Skip to content

Commit

Permalink
fix: add 'java' to the list of restricted variable names #3533 (#3534)
Browse files Browse the repository at this point in the history
  • Loading branch information
jgomer2001 authored Jan 8, 2023
1 parent bc62673 commit a970d88
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion jans-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@
<dependency>
<groupId>com.nimbusds</groupId>
<artifactId>nimbus-jose-jwt</artifactId>
<version>9.25.6</version>
<version>9.28</version>
</dependency>

<!-- Weld -->
Expand Down

0 comments on commit a970d88

Please sign in to comment.