7018459: javax.script code comments have issues with HTML4 validation and Accessibility compliance
Reviewed-by: jjh
This commit is contained in:
parent
d1cf52c16a
commit
437b0f5f71
@ -115,20 +115,19 @@ public interface ScriptEngineFactory {
|
||||
* 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>
|
||||
* <ul>
|
||||
* <p><code>null</code> - The engine implementation is not thread safe, and cannot
|
||||
* <li><code>null</code> - The engine implementation is not thread safe, and cannot
|
||||
* be used to execute scripts concurrently on multiple threads.
|
||||
* <p><code>"MULTITHREADED"</code> - The engine implementation is internally
|
||||
* <li><code>"MULTITHREADED"</code> - The engine implementation is internally
|
||||
* thread-safe and scripts may execute concurrently although effects of script execution
|
||||
* on one thread may be visible to scripts on other threads.
|
||||
* <p><code>"THREAD-ISOLATED"</code> - The implementation satisfies the requirements
|
||||
* <li><code>"THREAD-ISOLATED"</code> - The implementation satisfies the requirements
|
||||
* of "MULTITHREADED", and also, the engine maintains independent values
|
||||
* for symbols in scripts executing on different threads.
|
||||
* <p><code>"STATELESS"</code> - The implementation satisfies the requirements of
|
||||
* <code>"THREAD-ISOLATED"</code>. In addition, script executions do not alter the
|
||||
* <li><code>"STATELESS"</code> - The implementation satisfies the requirements of
|
||||
* <li><code>"THREAD-ISOLATED"</code>. In addition, script executions do not alter the
|
||||
* mappings in the <code>Bindings</code> which is the engine scope of the
|
||||
* <code>ScriptEngine</code>. In particular, the keys in the <code>Bindings</code>
|
||||
* and their associated values are the same before and after the execution of the script.
|
||||
* </li>
|
||||
* </ul>
|
||||
* <br><br>
|
||||
* Implementations may define implementation-specific keys.
|
||||
@ -145,7 +144,8 @@ public interface ScriptEngineFactory {
|
||||
* of the supported scripting language. For instance, an implementaton for a Javascript
|
||||
* engine might be;
|
||||
* <p>
|
||||
* <code><pre>
|
||||
* <pre>
|
||||
* <code>
|
||||
* public String getMethodCallSyntax(String obj,
|
||||
* String m, String... args) {
|
||||
* String ret = obj;
|
||||
@ -159,7 +159,8 @@ public interface ScriptEngineFactory {
|
||||
* ret += ")";
|
||||
* return ret;
|
||||
* }
|
||||
*</pre></code>
|
||||
*</code>
|
||||
*</pre>
|
||||
* <p>
|
||||
*
|
||||
* @param obj The name representing the object whose method is to be invoked. The
|
||||
|
Loading…
x
Reference in New Issue
Block a user