Radu Cotescu created SLING-4314:
-----------------------------------

             Summary: The implementation of RenderContext#resolveProperty can 
be slow for certain cases
                 Key: SLING-4314
                 URL: https://issues.apache.org/jira/browse/SLING-4314
             Project: Sling
          Issue Type: Bug
          Components: Scripting
            Reporter: Radu Cotescu
             Fix For: Scripting Sightly Engine 1.0.0


The current implementation of 
{{org.apache.sling.scripting.sightly.impl.engine.runtime.RenderContextImpl#resolveProperty}}
 is slow when the resolved methods of an object return {{null}} due to the fact 
that {{getField}} is called without a real reason.

Instead, {{getField}} should be called only when a method is not found.



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

Reply via email to