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

Carsten Ziegeler commented on SLING-1066:
-----------------------------------------

This is a result of the new class loading architecture - before we had the 
dynamic import package which caused the eventing bundle to reload

> Loaded jobs to not get rewired to updated bundles which may result in class 
> cast exceptions
> -------------------------------------------------------------------------------------------
>
>                 Key: SLING-1066
>                 URL: https://issues.apache.org/jira/browse/SLING-1066
>             Project: Sling
>          Issue Type: Bug
>          Components: Event
>    Affects Versions: Extensions Event 2.0.4
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>            Priority: Critical
>             Fix For: Extensions Event 2.0.6
>
>
> The job handler holds all jobs in memory (loads persisted jobs on startup). 
> If a job event uses a public class from a bundle, and such a job is in the 
> queue while the bundle gets updated, the job still uses the old class. As the 
> bundle and maybe other bundles are wired to the updated version, this might 
> result in class cast exceptions.

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

Reply via email to