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

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

    XMLWordPrintable

Details

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

    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

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

                Dates

                  Created:
                  Updated:
                  Resolved: