-
Bug
-
Resolution: Fixed
-
P4
-
8u31
-
b123
-
x86
-
windows_8
A DESCRIPTION OF THE PROBLEM :
The javadoc of this method describes a list of possible values for the THREADING key. However, the explanation of the STATELESS value is wrongly formatted: "THREAD-ISOLATED" appears on a newline with an additional bullet, though it should just continue inline.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
1 bullet in the list for STATELESS
* "STATELESS" - The implementation satisfies the requirements of "THREAD-ISOLATED". In addition, script executions do not alter the mappings in the Bindings which is the engine scope of the ScriptEngine. In particular, the keys in the Bindings and their associated values are the same before and after the execution of the script.
ACTUAL -
2 bullets in the list
* "STATELESS" - The implementation satisfies the requirements of
* "THREAD-ISOLATED". In addition, script executions do not alter the mappings in the Bindings which is the engine scope of the ScriptEngine. In particular, the keys in the Bindings and their associated values are the same before and after the execution of the script.
URL OF FAULTY DOCUMENTATION :
http://docs.oracle.com/javase/8/docs/api/javax/script/ScriptEngineFactory.html#getParameter-java.lang.String-
The javadoc of this method describes a list of possible values for the THREADING key. However, the explanation of the STATELESS value is wrongly formatted: "THREAD-ISOLATED" appears on a newline with an additional bullet, though it should just continue inline.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
1 bullet in the list for STATELESS
* "STATELESS" - The implementation satisfies the requirements of "THREAD-ISOLATED". In addition, script executions do not alter the mappings in the Bindings which is the engine scope of the ScriptEngine. In particular, the keys in the Bindings and their associated values are the same before and after the execution of the script.
ACTUAL -
2 bullets in the list
* "STATELESS" - The implementation satisfies the requirements of
* "THREAD-ISOLATED". In addition, script executions do not alter the mappings in the Bindings which is the engine scope of the ScriptEngine. In particular, the keys in the Bindings and their associated values are the same before and after the execution of the script.
URL OF FAULTY DOCUMENTATION :
http://docs.oracle.com/javase/8/docs/api/javax/script/ScriptEngineFactory.html#getParameter-java.lang.String-