You need to sign in or sign up before continuing.
提交 85da9ab0 编写于 作者: S sundar

8072002: The spec on javax.script.Compilable contains a typo and confusing inconsistency

Reviewed-by: lagergren, attila
上级 4ea64e75
......@@ -42,7 +42,7 @@ public interface Compilable {
*
* @param script The source of the script, represented as a <code>String</code>.
*
* @return An subclass of <code>CompiledScript</code> to be executed later using one
* @return An instance of a subclass of <code>CompiledScript</code> to be executed later using one
* of the <code>eval</code> methods of <code>CompiledScript</code>.
*
* @throws ScriptException if compilation fails.
......@@ -61,7 +61,7 @@ public interface Compilable {
*
* @param script The reader from which the script source is obtained.
*
* @return An implementation of <code>CompiledScript</code> to be executed
* @return An instance of a subclass of <code>CompiledScript</code> to be executed
* later using one of its <code>eval</code> methods of <code>CompiledScript</code>.
*
* @throws ScriptException if compilation fails.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册