Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_jdk
提交
9748b4ec
D
dragonwell8_jdk
项目概览
openanolis
/
dragonwell8_jdk
通知
4
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell8_jdk
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
9748b4ec
编写于
2月 18, 2011
作者:
S
sundar
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
7018459: javax.script code comments have issues with HTML4 validation and Accessibility compliance
Reviewed-by: jjh
上级
3ddbacd5
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
9 addition
and
8 deletion
+9
-8
src/share/classes/javax/script/ScriptEngineFactory.java
src/share/classes/javax/script/ScriptEngineFactory.java
+9
-8
未找到文件。
src/share/classes/javax/script/ScriptEngineFactory.java
浏览文件 @
9748b4ec
...
@@ -115,20 +115,19 @@ public interface ScriptEngineFactory {
...
@@ -115,20 +115,19 @@ public interface ScriptEngineFactory {
* with respect to concurrent execution of scripts and maintenance of state is also defined.
* with respect to concurrent execution of scripts and maintenance of state is also defined.
* These values for the <code><b>THREADING</b></code> key are:<br><br>
* These values for the <code><b>THREADING</b></code> key are:<br><br>
* <ul>
* <ul>
* <
p
><code>null</code> - The engine implementation is not thread safe, and cannot
* <
li
><code>null</code> - The engine implementation is not thread safe, and cannot
* be used to execute scripts concurrently on multiple threads.
* be used to execute scripts concurrently on multiple threads.
* <
p
><code>"MULTITHREADED"</code> - The engine implementation is internally
* <
li
><code>"MULTITHREADED"</code> - The engine implementation is internally
* thread-safe and scripts may execute concurrently although effects of script execution
* thread-safe and scripts may execute concurrently although effects of script execution
* on one thread may be visible to scripts on other threads.
* on one thread may be visible to scripts on other threads.
* <
p
><code>"THREAD-ISOLATED"</code> - The implementation satisfies the requirements
* <
li
><code>"THREAD-ISOLATED"</code> - The implementation satisfies the requirements
* of "MULTITHREADED", and also, the engine maintains independent values
* of "MULTITHREADED", and also, the engine maintains independent values
* for symbols in scripts executing on different threads.
* for symbols in scripts executing on different threads.
* <
p
><code>"STATELESS"</code> - The implementation satisfies the requirements of
* <
li
><code>"STATELESS"</code> - The implementation satisfies the requirements of
* <code>"THREAD-ISOLATED"</code>. In addition, script executions do not alter the
* <
li><
code>"THREAD-ISOLATED"</code>. In addition, script executions do not alter the
* mappings in the <code>Bindings</code> which is the engine scope of the
* mappings in the <code>Bindings</code> which is the engine scope of the
* <code>ScriptEngine</code>. In particular, the keys in the <code>Bindings</code>
* <code>ScriptEngine</code>. In particular, the keys in the <code>Bindings</code>
* and their associated values are the same before and after the execution of the script.
* and their associated values are the same before and after the execution of the script.
* </li>
* </ul>
* </ul>
* <br><br>
* <br><br>
* Implementations may define implementation-specific keys.
* Implementations may define implementation-specific keys.
...
@@ -145,7 +144,8 @@ public interface ScriptEngineFactory {
...
@@ -145,7 +144,8 @@ public interface ScriptEngineFactory {
* of the supported scripting language. For instance, an implementaton for a Javascript
* of the supported scripting language. For instance, an implementaton for a Javascript
* engine might be;
* engine might be;
* <p>
* <p>
* <code><pre>
* <pre>
* <code>
* public String getMethodCallSyntax(String obj,
* public String getMethodCallSyntax(String obj,
* String m, String... args) {
* String m, String... args) {
* String ret = obj;
* String ret = obj;
...
@@ -159,7 +159,8 @@ public interface ScriptEngineFactory {
...
@@ -159,7 +159,8 @@ public interface ScriptEngineFactory {
* ret += ")";
* ret += ")";
* return ret;
* return ret;
* }
* }
*</pre></code>
*</code>
*</pre>
* <p>
* <p>
*
*
* @param obj The name representing the object whose method is to be invoked. The
* @param obj The name representing the object whose method is to be invoked. The
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录