You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2009/10/05 11:11:31 UTC

[jira] Created: (SLING-1135) ClassLoaderFacade must overwrite ClassLoader.loadClass(String, boolean)

ClassLoaderFacade must overwrite ClassLoader.loadClass(String, boolean)
-----------------------------------------------------------------------

                 Key: SLING-1135
                 URL: https://issues.apache.org/jira/browse/SLING-1135
             Project: Sling
          Issue Type: Bug
          Components: Commons
    Affects Versions: Commons ClassLoader 0.9.0
            Reporter: Felix Meschberger
            Assignee: Felix Meschberger
             Fix For: Commons ClassLoader 0.9.2


Currenly the ClassLoaderFacade overwrites the ClassLoader.loadClass(String) method. This prevents this class (returned as the result of the DynamicClassLoaderManager.getDynamicClassLoader()) from being used as the parent to other class loaders.

The reason is, that class loaders call their parent class loader's loadClass(String, boolean) method to check for the class in the parent class loader.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (SLING-1135) ClassLoaderFacade must overwrite ClassLoader.loadClass(String, boolean)

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger resolved SLING-1135.
--------------------------------------

    Resolution: Fixed

Fixed in Rev. 821728.

> ClassLoaderFacade must overwrite ClassLoader.loadClass(String, boolean)
> -----------------------------------------------------------------------
>
>                 Key: SLING-1135
>                 URL: https://issues.apache.org/jira/browse/SLING-1135
>             Project: Sling
>          Issue Type: Bug
>          Components: Commons
>    Affects Versions: Commons ClassLoader 0.9.0
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: Commons ClassLoader 0.9.2
>
>
> Currenly the ClassLoaderFacade overwrites the ClassLoader.loadClass(String) method. This prevents this class (returned as the result of the DynamicClassLoaderManager.getDynamicClassLoader()) from being used as the parent to other class loaders.
> The reason is, that class loaders call their parent class loader's loadClass(String, boolean) method to check for the class in the parent class loader.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (SLING-1135) ClassLoaderFacade must overwrite ClassLoader.loadClass(String, boolean)

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler closed SLING-1135.
-----------------------------------


> ClassLoaderFacade must overwrite ClassLoader.loadClass(String, boolean)
> -----------------------------------------------------------------------
>
>                 Key: SLING-1135
>                 URL: https://issues.apache.org/jira/browse/SLING-1135
>             Project: Sling
>          Issue Type: Bug
>          Components: Commons
>    Affects Versions: Commons ClassLoader 0.9.0
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: Commons ClassLoader 1.0.0
>
>
> Currenly the ClassLoaderFacade overwrites the ClassLoader.loadClass(String) method. This prevents this class (returned as the result of the DynamicClassLoaderManager.getDynamicClassLoader()) from being used as the parent to other class loaders.
> The reason is, that class loaders call their parent class loader's loadClass(String, boolean) method to check for the class in the parent class loader.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.