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

ScriptEngine.eval should offer the ability to provide a codebase

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P3
    • 8
    • None
    • core-libs
    • b82
    • Verified

    Description

      ScriptEngine.eval gets you a null codebase. There is no way to grant permissions targeted to a script executed that way.

      This is a requirement for nodejar project (actually for any runtime composed of java + js files).
      Without a well identified codebase, no way to properly build a security story.

      Attachments

        Activity

          People

            sundar Sundararajan Athijegannathan
            jfdenise Jean-Francois Denise (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: