# HG changeset patch
# User sundar
# Date 1432092494 -19800
# Node ID b77ce075b35735647971c3b8f0739ffdbd88649f
# Parent 02ada54016367978f49568c3cde51b609714b468
8072002: The spec on javax.script.Compilable contains a typo and confusing inconsistency
Reviewed-by: lagergren, attila
diff --git a/src/share/classes/javax/script/Compilable.java b/src/share/classes/javax/script/Compilable.java
--- a/src/share/classes/javax/script/Compilable.java
+++ b/src/share/classes/javax/script/Compilable.java
@@ -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.