felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Jencks (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FELIX-5573) Detect recursive class loads while invoking weaving hooks
Date Tue, 28 Feb 2017 23:21:45 GMT

    [ https://issues.apache.org/jira/browse/FELIX-5573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15889096#comment-15889096

David Jencks commented on FELIX-5573:

I don't see why there's a problem returning null if there's some problem such as recursion
in class loading.  My question was what is supposed to happen if getService for one of the
weaving hooks returns null.  If this is supposed to prevent the original class load then weaving
hooks can't be DS components.  If that hook is supposed to be ignored (presumably with logging)
then the original class load ought to succeed and DS succeed in creating the weaving hook.

> Detect recursive class loads while invoking weaving hooks
> ---------------------------------------------------------
>                 Key: FELIX-5573
>                 URL: https://issues.apache.org/jira/browse/FELIX-5573
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: framework-5.6.2
>            Reporter: Karl Pauls
>            Assignee: Karl Pauls
>             Fix For: framework-5.6.4
> We need to detect recursive class loads while invoking weaving hooks, if recursion is
detected for a class name then we want to simply ignore all weave hooks for the recursive
class load and allow it to proceed to define class.

This message was sent by Atlassian JIRA

View raw message