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

Carsten Ziegeler updated SLING-7109:
------------------------------------
    Summary: Bundle not marked as used if a resource is loaded from a bundle  
(was: Classloader not updated when bundle is updating)

> Bundle not marked as used if a resource is loaded from a bundle
> ---------------------------------------------------------------
>
>                 Key: SLING-7109
>                 URL: https://issues.apache.org/jira/browse/SLING-7109
>             Project: Sling
>          Issue Type: Bug
>          Components: Commons
>    Affects Versions: Commons ClassLoader 1.4.0
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: Commons ClassLoader 1.4.2
>
>
> The class loader is not updated/refreshed if a bundle is updated. 
> Imagine the following use case:
> A jsp is compiled. It has an import to an existing class, however it is using 
> a field in that class which does not exist. This creates a compilation 
> problem. However from the pov of the classloader everything is fine as the 
> class exists.
> Now the bundle is updated and the class in question contains the field. 
> However, the classloader is not refreshed/updated and therefore the jsp 
> compilation still fails.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to