diff --git a/jdk/src/share/classes/javax/script/ScriptEngineManager.java b/jdk/src/share/classes/javax/script/ScriptEngineManager.java
index bb43053426c..c7932a8ae05 100644
--- a/jdk/src/share/classes/javax/script/ScriptEngineManager.java
+++ b/jdk/src/share/classes/javax/script/ScriptEngineManager.java
@@ -37,7 +37,7 @@ import sun.security.util.SecurityConstants;
* collection of key/value pairs storing state shared by all engines created
* by the Manager. This class uses the service provider mechanism to enumerate all the
* implementations of ScriptEngineFactory.
- * The ScriptEngineManager provides a method to return an array of all these factories
+ * The ScriptEngineManager provides a method to return a list of all these factories
* as well as utility methods which look up factories on the basis of language name, file extension
* and mime type.
*
@@ -202,7 +202,7 @@ public class ScriptEngineManager {
* The algorithm first searches for a ScriptEngineFactory that has been
* registered as a handler for the specified name using the registerEngineName
* method.
- *
If one is not found, it searches the array of ScriptEngineFactory instances
+ *
If one is not found, it searches the set of ScriptEngineFactory instances
* stored by the constructor for one with the specified name. If a ScriptEngineFactory
* is found by either method, it is used to create instance of ScriptEngine.
* @param shortName The short name of the ScriptEngine implementation.
@@ -351,7 +351,7 @@ public class ScriptEngineManager {
}
/**
- * Returns an array whose elements are instances of all the ScriptEngineFactory classes
+ * Returns a list whose elements are instances of all the ScriptEngineFactory classes
* found by the discovery mechanism.
* @return List of all discovered ScriptEngineFactorys.
*/