You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Karl Pauls (JIRA)" <ji...@apache.org> on 2017/02/28 22:44:45 UTC

[jira] [Commented] (FELIX-5573) Detect recursive class loads while invoking weaving hooks

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

Karl Pauls commented on FELIX-5573:
-----------------------------------

One example of this is FELIX-5570 where we apparently just return null (we should probably make sure we throw a CNFE if we detect a recursive class load that doesn't involve weaving hooks too) which makes it so that SCR blows up.

> 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
(v6.3.15#6346)