提交 b904e088 编写于 作者: S sundar

8068462: javax.script.ScriptEngineFactory.getParameter spec is not completely...

8068462: javax.script.ScriptEngineFactory.getParameter spec is not completely consistent with the rest of the API
Reviewed-by: alanb, jlaskey
上级 f9234b91
...@@ -104,14 +104,15 @@ public interface ScriptEngineFactory { ...@@ -104,14 +104,15 @@ public interface ScriptEngineFactory {
* <ul> * <ul>
* <li>ScriptEngine.ENGINE</li> * <li>ScriptEngine.ENGINE</li>
* <li>ScriptEngine.ENGINE_VERSION</li> * <li>ScriptEngine.ENGINE_VERSION</li>
* <li>ScriptEngine.NAME</li>
* <li>ScriptEngine.LANGUAGE</li> * <li>ScriptEngine.LANGUAGE</li>
* <li>ScriptEngine.LANGUAGE_VERSION</li> * <li>ScriptEngine.LANGUAGE_VERSION</li>
* <li>ScriptEngine.NAME</li>
* </ul> * </ul>
* <p> * <p>
* The values for these keys are the Strings returned by <code>getEngineName</code>, * The values for these keys are the Strings returned by <code>getEngineName</code>,
* <code>getEngineVersion</code>, <code>getName</code>, <code>getLanguageName</code> and * <code>getEngineVersion</code>, <code>getLanguageName</code>,
* <code>getLanguageVersion</code> respectively.<br><br> * <code>getLanguageVersion</code> for the first four keys respectively. For NAME, one of the Strings
* returned by <code>getNames</code> is returned.<br><br>
* A reserved key, <code><b>THREADING</b></code>, whose value describes the behavior of the engine * A reserved key, <code><b>THREADING</b></code>, whose value describes the behavior of the engine
* with respect to concurrent execution of scripts and maintenance of state is also defined. * with respect to concurrent execution of scripts and maintenance of state is also defined.
* These values for the <code><b>THREADING</b></code> key are:<br><br> * These values for the <code><b>THREADING</b></code> key are:<br><br>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册