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 (Created) (JIRA)" <ji...@apache.org> on 2012/03/16 08:56:02 UTC

[jira] [Created] (SLING-2437) Class might never be loaded if the bundle is in state resolved on the first attempt

Class might never be loaded if the bundle is in state resolved on the first attempt
-----------------------------------------------------------------------------------

                 Key: SLING-2437
                 URL: https://issues.apache.org/jira/browse/SLING-2437
             Project: Sling
          Issue Type: Bug
          Components: Commons
    Affects Versions: Commons ClassLoader 1.2.4
            Reporter: Carsten Ziegeler
            Assignee: Carsten Ziegeler
             Fix For: Commons ClassLoader 1.2.6


If a class from a resolved bundle is tried to be loaded, it is not loaded but rather be put into the negative cache (see SLING-2232)
However, the check to reregister the classloader is done for a bundle resolved event, therefore the classloader is not reregistered once the bundle is started and the class could be loaded

--
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

        

[jira] [Resolved] (SLING-2437) Class might never be loaded if the bundle is in state resolved on the first attempt

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

Carsten Ziegeler resolved SLING-2437.
-------------------------------------

    Resolution: Duplicate
    
> Class might never be loaded if the bundle is in state resolved on the first attempt
> -----------------------------------------------------------------------------------
>
>                 Key: SLING-2437
>                 URL: https://issues.apache.org/jira/browse/SLING-2437
>             Project: Sling
>          Issue Type: Bug
>          Components: Commons
>    Affects Versions: Commons ClassLoader 1.2.4
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: Commons ClassLoader 1.2.6
>
>
> If a class from a resolved bundle is tried to be loaded, it is not loaded but rather be put into the negative cache (see SLING-2232)
> However, the check to reregister the classloader is done for a bundle resolved event, therefore the classloader is not reregistered once the bundle is started and the class could be loaded

--
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

        

[jira] [Resolved] (SLING-2437) Class might never be loaded if the bundle is in state resolved on the first attempt

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

Carsten Ziegeler resolved SLING-2437.
-------------------------------------

    Resolution: Fixed

Setting this to fixed now after some further testing
                
> Class might never be loaded if the bundle is in state resolved on the first attempt
> -----------------------------------------------------------------------------------
>
>                 Key: SLING-2437
>                 URL: https://issues.apache.org/jira/browse/SLING-2437
>             Project: Sling
>          Issue Type: Bug
>          Components: Commons
>    Affects Versions: Commons ClassLoader 1.2.4
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: Commons ClassLoader 1.2.6
>
>
> If a class from a resolved bundle is tried to be loaded, it is not loaded but rather be put into the negative cache (see SLING-2232)
> However, the check to reregister the classloader is done for a bundle resolved event, therefore the classloader is not reregistered once the bundle is started and the class could be loaded

--
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

        

[jira] [Closed] (SLING-2437) Class might never be loaded if the bundle is in state resolved on the first attempt

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

Carsten Ziegeler closed SLING-2437.
-----------------------------------

    
> Class might never be loaded if the bundle is in state resolved on the first attempt
> -----------------------------------------------------------------------------------
>
>                 Key: SLING-2437
>                 URL: https://issues.apache.org/jira/browse/SLING-2437
>             Project: Sling
>          Issue Type: Bug
>          Components: Commons
>    Affects Versions: Commons ClassLoader 1.2.4
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: Commons ClassLoader 1.3.0
>
>
> If a class from a resolved bundle is tried to be loaded, it is not loaded but rather be put into the negative cache (see SLING-2232)
> However, the check to reregister the classloader is done for a bundle resolved event, therefore the classloader is not reregistered once the bundle is started and the class could be loaded

--
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

        

[jira] [Reopened] (SLING-2437) Class might never be loaded if the bundle is in state resolved on the first attempt

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

Carsten Ziegeler reopened SLING-2437:
-------------------------------------


Duplicate of SLING-2438
                
> Class might never be loaded if the bundle is in state resolved on the first attempt
> -----------------------------------------------------------------------------------
>
>                 Key: SLING-2437
>                 URL: https://issues.apache.org/jira/browse/SLING-2437
>             Project: Sling
>          Issue Type: Bug
>          Components: Commons
>    Affects Versions: Commons ClassLoader 1.2.4
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: Commons ClassLoader 1.2.6
>
>
> If a class from a resolved bundle is tried to be loaded, it is not loaded but rather be put into the negative cache (see SLING-2232)
> However, the check to reregister the classloader is done for a bundle resolved event, therefore the classloader is not reregistered once the bundle is started and the class could be loaded

--
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