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 2009/07/30 17:35:14 UTC

[jira] Commented: (SLING-1066) Loaded jobs to not get rewired to updated bundles which may result in class cast exceptions

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