--- old/src/java.scripting/share/classes/javax/script/Compilable.java 2015-05-19 17:30:04.000000000 +0530
+++ new/src/java.scripting/share/classes/javax/script/Compilable.java 2015-05-19 17:30:04.000000000 +0530
@@ -42,7 +42,7 @@
*
* @param script The source of the script, represented as a String
.
*
- * @return An subclass of CompiledScript
to be executed later using one
+ * @return An instance of a subclass of CompiledScript
to be executed later using one
* of the eval
methods of CompiledScript
.
*
* @throws ScriptException if compilation fails.
@@ -61,7 +61,7 @@
*
* @param script The reader from which the script source is obtained.
*
- * @return An implementation of CompiledScript
to be executed
+ * @return An instance of a subclass of CompiledScript
to be executed
* later using one of its eval
methods of CompiledScript
.
*
* @throws ScriptException if compilation fails.