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

Radu Cotescu updated SLING-4232:
--------------------------------
    Attachment: SLING-4232.patch

The attached patch ([^SLING-4232]) adds a pattern to match Java classes in the 
{{PojoUseProvider}}; if identifiers don't match the pattern the provider will 
fail immediately, without logging any error.

Errors are now logged only for Java compilation errors or other exceptions 
related to accessing Java classes.

> The PojoUseProvider should log errors only for Java classes
> -----------------------------------------------------------
>
>                 Key: SLING-4232
>                 URL: https://issues.apache.org/jira/browse/SLING-4232
>             Project: Sling
>          Issue Type: Bug
>          Components: Scripting
>            Reporter: Radu Cotescu
>             Fix For: Scripting Sightly Engine 1.0.0
>
>         Attachments: SLING-4232.patch
>
>
> The {{PojoUseProvider}} currently logs errors for all Use identifiers that it 
> tries to instantiate. The provider should fail silently if the identifiers 
> don't match Java classes.



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

Reply via email to