1The Scripting Framework makes use of the Rhino (http://www.mozilla.org/rhino/) 2JavaScript interpreter, available under the Mozilla Public License 2.0 3(http://www.mozilla.org/MPL/2.0/). 4 5Rhino version: 1.7.15.1 6Source archive: https://github.com/mozilla/rhino/releases/download/Rhino1_7_15_1_Release/rhino-1.7.15.1.zip 7Checksum: (see external_deps.lst) 8 9In addition, to support the debugging of scripts contained in OpenOffice.org 10documents, we have modified the Java source files: 11- GuiCallback.java (added exitInterrupt method) 12- Main.java (added AOO-specific shortcut methods, console I/O uses System.in/out/err) 13- Dim.java (added evalScriptWithReturn, changed default URL from "<stdin>" to "document") 14- SwingGui.java (AOO-specific debugger GUI modifications, no console window) 15- OfficeScriptInfo.java (new AOO-specific class) 16- DefiningClassLoader.java (modified class loading to check thread context class loader) 17 18Upstream builds only with Gradle, so rhino1_7_15_1.patch also adds a small 19Ant build.xml that compiles src/ for Java 8 into build/js.jar. The JSR-223 20engine (org.mozilla.javascript.engine) is left out, as in the upstream 21rhino jar. The patch was generated using the command: diff -ruN 22 23ES6 is the default language mode (Context.VERSION_ES6). 24