This document discusses the next steps for JavaScript on Java after Nashorn is deprecated in JDK 11. It provides an overview of GraalVM JavaScript as the recommended replacement for Nashorn, including its compatibility with Nashorn and support for Java integration. The summary is:
1. Nashorn is being deprecated in JDK 11, so GraalVM JavaScript is positioned as the new standard JavaScript engine for Java.
2. GraalVM JavaScript has high compatibility with Nashorn but some Nashorn extensions require special flags for compatibility.
3. It supports integrating JavaScript and Java by allowing JavaScript to access Java classes and objects, similar to Nashorn.
4. While most functionality is compatible, there are some differences between Nash