You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2012/06/09 15:18:43 UTC

[jira] [Commented] (SLING-2505) Don't load class for dependency check

    [ https://issues.apache.org/jira/browse/SLING-2505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13292336#comment-13292336 ] 

Carsten Ziegeler commented on SLING-2505:
-----------------------------------------

Instead of loading the class and inspecting it, a much simpler solution is to write an extra file with the dependency information. The class loading could be quiet heavy to just get the dependencies.

I've now changed the whole mechanism to use an extra dependencies file
                
> Don't load class for dependency check
> -------------------------------------
>
>                 Key: SLING-2505
>                 URL: https://issues.apache.org/jira/browse/SLING-2505
>             Project: Sling
>          Issue Type: Bug
>          Components: Scripting
>    Affects Versions: Scripting JSP 2.0.22
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: Scripting JSP 2.0.24
>
>
> The dependency check for a jsp tries to load the jsp class even if the compiled class file is not available. This might result in unnecessary class loader creations which are destroyed later on.
> In addition, once a servlet is compiled and loaded, the dependencies can be directly updated without requiring to reload this class through a different class loader.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira