tool, with the intent to remove them in a future release.
With the rapid pace at which ECMAScript language constructs, along with APIs, are adapted and modified, we have found Nashorn challenging to maintain.
This deprecation does not affect, in any way, the
Two JDK modules will be
terminally deprecated, that is, annotated with
jdk.scripting.nashorn-- contains the
jdk.scripting.nashorn.shell-- contains the
jjswill display a warning:
Warning: The jjs tool is planned to be removed from a future JDK release.
A separate JEP will be filed for the actual removal of the types and modules in a future JDK feature release.
An alternative is for a set of credible developers to express a clear desire to maintain Nashorn going forward. If that happens before this JEP is integrated then this JEP can be withdrawn. If that happens after this JEP is integrated, but before Nashorn is removed, then a follow-on JEP can revert the deprecation.
Risks and Assumptions