Warning: Nashorn engine is planned to be removed from a future JDK release
UPDATE: as of JDK15, nashorn is removed.
GraalJS seems the best solution:
- it can run on openjdk as a simple lib dep: https://github.com/graalvm/graaljs/blob/master/docs/user/RunOnJDK.md
- it has nashorn compatible mode: https://github.com/graalvm/graaljs/blob/master/docs/user/ScriptEngine.md
Security will need to be updated.
Since OpenJDK 11, we get a warning: "Warning: Nashorn engine is planned to be removed from a future JDK release".
The fact that nashorn will be removed is terrible, and we will need to address that. Some reference links seems to tell that we will need to switch to GraalVM at some point:
In the meantime, we get a bad, red error message at startup, and we should really hide it, because rudder user really don't care about that. We need to add at startup options: