-
Enhancement
-
Resolution: Fixed
-
P3
-
9
-
b67
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(...)
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
-
JDK-8084275 All versions of javax.script.ScriptEngine.eval(...) method may clarify ScriptException throwing
-
- Resolved
-