[
https://issues.apache.org/jira/browse/SLING-1267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Carsten Ziegeler resolved SLING-1267.
-------------------------------------
Resolution: Fixed
Fixed in revision: 896348 and revision: 896349
> Get metadata of script only once, get input stream lazily
> ---------------------------------------------------------
>
> Key: SLING-1267
> URL: https://issues.apache.org/jira/browse/SLING-1267
> Project: Sling
> Issue Type: Improvement
> Components: Scripting
> Affects Versions: Scripting Core 2.0.8
> Reporter: Carsten Ziegeler
> Assignee: Carsten Ziegeler
> Fix For: Scripting Core 2.0.10
>
>
> As the DefaultSlingScript might be cached (by the servlet resolver) the
> various metadata like the script name, script encoding should only be fetched
> once on creation and not on every use.
> In addition as most script engines don't use the reader to read the script,
> we should use a lazy input stream
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.