8072002: The spec on javax.script.Compilable contains a typo and confusing inconsistency
Reviewed-by: lagergren, attila
This commit is contained in:
parent
8931c0d3b2
commit
216d24980d
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user