igor%mir2.org 1143cfe592 1. To evaluate script represented by String, use Context.evaluateString to avoid the need to create StringReader instances.
2. Catch VirtualMachineError so on out-of-memory/stack-overflow the shell will exit with System.exit(EXITCODE_RUNTIME_ERROR), not with 1. It will allow to distinguish cases when script tried to consume all available stack/memory with bugs in Rhino itself leading to NullPointerException etc.

3. Remove code to rethrow ThreadDeath from JavaScriptExcception since ThreadDeath is re-thrown by the engine itself.


git-svn-id: svn://10.0.0.236/trunk@144504 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-06 19:21:42 +00:00
2002-10-28 23:25:11 +00:00
Description
No description provided
982 MiB
Languages
C++ 31%
C 21.9%
HTML 13.3%
JavaScript 12.9%
Java 5.1%
Other 15.5%