Deprecating the Nashorn JavaScript engine

With JEP 335, Java 11 deprecates the Nashorn JavaScript script engine, its APIs, and its jjs tool. These will be removed in future Java versions.

The Nashorn JavaScript engine was first included in JDK in its recent versions—JDK 8. The reason for this was to replace the Rhino scripting engine. However, Java is unable to keep up the pace with the evolution of ECMAScript, on which the Nashorn JavaScript engine is based.

The challenge to maintain the Nashorn JavaScript engine outperforms the advantages that it offers, and therefore paving the way for its deprecation.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
52.14.151.45