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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • core-libs

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



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

                Created:
                Updated:
                Resolved: