Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8068978

All versions of javax.script.ScriptEngine.eval(...) method may clarify ScriptException throwing

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:

      Backports

        Description

        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(...)



          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  sundar Sundararajan Athijegannathan
                  Reporter:
                  dbessono Dmitry Bessonov
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: