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

JavaScript: can't use user specified scope in ScriptContext

XMLWordPrintable

    • 6
    • b79
    • generic
    • generic

      javax.script.ScriptContext specifies ENGINE_SCOPE and GLOBAL_SCOPE. But, user should still be able to plugin his own ScriptContext implementation that allows more scopes for his application. But, the JavaScript engine in Mustang supports only the engine and the global scopes. Arbitrary scopes don't work as expected. Please find the test case (Test.java and MyContext.java) in attachments.

            sundar Sundararajan Athijegannathan
            sundar Sundararajan Athijegannathan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: