The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
Please refer to "Suggested Fix" for changes.
Also, refer to attachment "webrev.tar.gz"
In addition to changing to Rhino 1.6R1, there are fixes to the following bugs:
6291764 - spec. for javax.script.AbstractScriptEngine.getContext() return value is invalid.
6291447 - spec. for javax.script.ScriptEngine.getFactory mentions undefined interface ScriptEngineInfo.
6291448 - Example in javax.script.ScriptEngineFactory.getMethodCallSyntax method description is invalid.
6291449 - Methods of javax.script.ScriptEngineManager throw unspecified exceptions.
6295362 - The specification for javax.script.SimpleScriptContext is incomplete.
6297588 - uninitialized value of globalScope field of javax.script.SimpleScriptContext.
6304417 - NPE for method javax.script.ScriptEngine.setContext not specified and not thrown
6293920 - javadoc for ScriptEngineManager.getEngineByName is incorrect
6304283 - javax.script.SimpleBindings: NullPointerException and IllegalArgumentException are not specified
6304279 - Unclear specification for non-abstract methods of javax.script.CompiledScript
6318609 - clarification needed on ScriptEngine.getBindings(ScriptContext.GLOBAL_SCOPE)
6300598 - javax.script.SimpleBindings.put(String, Object) contradicts spec.
6304284 - Behaviour of javax.script.SimpleScriptContext.getAttributesScope(String name) contradicts spec.
6320169 arguments passed to javax.script.Invocable.invoke are not converted to script wrappers
Rhino used in JDK should be the lastest one (1.6R1).
This is because:
1) Mozilla fixes bugs only in the lastest release of their products.
(while reproduced in 1.5R5) - Please refer to bugs 6289605, 6296223.