Reintroduces removed classes and methods to preserve the backward compatibility. * Commit 9144b81 renamed isGetter/Setter methods, this breaks closure-compiler * Commit 71468c9 removed deprecated exceptions still used by htmlunit/2.8-2
[PATCH] Implement standard Java ScriptEngine This is not based on the now-removed JDK code but instead does a few things in a more modern way. See the comments for supported parameters (you can set language and optimization level via properties) and built-in functions (only print is supported right now.)
This is built into a separate JAR called "rhino-engine" because otherwise, including it in any Java 8 JDK would break scripts that are expecting to see Nashorn instead.