JavaScript: can't use user specified scope in ScriptContext

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • 6
    • Affects Version/s: 6
    • Component/s: core-libs

      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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: