8180274: Fix links in nashorn documentation

Reviewed-by: hannesw
This commit is contained in:
Athijegannathan Sundararajan 2017-09-29 16:37:36 +05:30
parent a0218352fc
commit fc05af8f41
2 changed files with 2 additions and 3 deletions

View File

@ -127,7 +127,7 @@ scripting language.</span></p>
<hr> <hr>
<span><a name="package" id="package"></a></span> <span><a name="package" id="package"></a></span>
<h2><span>Scripting Package</span></h2> <h2><span>Scripting Package</span></h2>
<p><span>The Java Scripting functionality is in the <code><a href="http://docs.oracle.com/javase/6/docs/api/javax/script/package-summary.html">javax.script</a></code> <p><span>The Java Scripting functionality is in the <code><a href="http://docs.oracle.com/javase/9/docs/api/javax/script/package-summary.html">javax.script</a></code>
package. This is a relatively small, simple API. The starting point package. This is a relatively small, simple API. The starting point
of the scripting API is the <code>ScriptEngineManager</code> class. of the scripting API is the <code>ScriptEngineManager</code> class.
A ScriptEngineManager object can discover script engines through A ScriptEngineManager object can discover script engines through

View File

@ -44,8 +44,7 @@ ScriptEngine nashornEngine = new ScriptEngineManager().getEngineByName("nashorn"
</pre> </pre>
* *
* and then use it just as you would any other JSR-223 script engine. See * and then use it just as you would any other JSR-223 script engine. See
* <a href="jdk/nashorn/api/scripting/package-summary.html"> * {@link jdk.nashorn.api.scripting} package for details.
* {@code jdk.nashorn.api.scripting}</a> package for details.
* <h1>Compatibility</h1> * <h1>Compatibility</h1>
* Nashorn is 100% compliant with the * Nashorn is 100% compliant with the
* <a href="http://www.ecma-international.org/publications/standards/Ecma-262.htm" * <a href="http://www.ecma-international.org/publications/standards/Ecma-262.htm"