File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
java/ql/src/experimental/Security/CWE/CWE-094 Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 4
4
<qhelp >
5
5
6
6
<overview >
7
- <p >The Java Scripting API has been available since the release of Java 6, which allows
7
+ <p >The Java Scripting API has been available since the release of Java 6. It allows
8
8
applications to interact with scripts written in languages such as JavaScript. It serves
9
9
as an embedded scripting engine inside Java applications which allows Java-to-JavaScript
10
10
interoperability and provides a seamless integration between the two languages. If an
21
21
</recommendation >
22
22
23
23
<example >
24
- <p >The following code could execute random JavaScript code in <code >ScriptEngine</code ></p >
24
+ <p >The following code could execute user-supplied JavaScript code in <code >ScriptEngine</code ></p >
25
25
<sample src =" ScriptEngine.java" />
26
26
<sample src =" NashornScriptEngine.java" />
27
27
You can’t perform that action at this time.
0 commit comments