Loading... (original) (raw)

Issue Fix Version Assignee Priority Status Resolution Resolved In Build
JDK-8084275 emb-9 Sundararajan Athijegannathan P3 Resolved Fixed team

Spec for one version of overloaded eval(...) methods
http://docs.oracle.com/javase/8/docs/api/javax/script/ScriptEngine.html#eval-java.lang.String-javax.script.ScriptContext-
says:
"ScriptEngines should create and throw ScriptException wrappers for checked Exceptions thrown by underlying scripting implementations."

This assertion is equally applicable for other overloaded versions of method eval(...)

backported by

Backport - A issue that is required to port a Bug or Feature into another product release. This issue type is generally associated with the main Bug/Feature to represent each individual release of the port. JDK-8084275 All versions of javax.script.ScriptEngine.eval(...) method may clarify ScriptException throwing