[ 
https://issues.apache.org/jira/browse/SLING-5175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Radu Cotescu updated SLING-5175:
--------------------------------
    Description: 
The changes from SLING-5022, although allowed the {{importClass}} and 
{{importPackage}} Rhino functions to be used in JavaScript scripts, incurred 
performance penalties for script execution.

The importer top level should actually be set for the {{rootScope}} provided by 
the {{RhinoJavaScriptEngineFactory}}.

  was:
The changes from SLING-5022, although allowed the {{importClass}} and 
{{importPackage}} Rhino functions to be used in JavaScript scripts incurred 
performance penalties for script execution.

The importer top level should actually be set for the {{rootScope}} provided by 
the {{RhinoJavaScriptEngineFactory}}.


> The current set up of the ImporterTopLevel in the RhinoJavaScriptEngine 
> incurs performance penalties
> ----------------------------------------------------------------------------------------------------
>
>                 Key: SLING-5175
>                 URL: https://issues.apache.org/jira/browse/SLING-5175
>             Project: Sling
>          Issue Type: Bug
>          Components: Scripting
>    Affects Versions: Scripting JavaScript 2.0.26
>            Reporter: Radu Cotescu
>            Assignee: Radu Cotescu
>             Fix For: Scripting JavaScript 2.0.28
>
>
> The changes from SLING-5022, although allowed the {{importClass}} and 
> {{importPackage}} Rhino functions to be used in JavaScript scripts, incurred 
> performance penalties for script execution.
> The importer top level should actually be set for the {{rootScope}} provided 
> by the {{RhinoJavaScriptEngineFactory}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to