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/03/01 15:49:45 UTC
[jira] [Resolved] (FELIX-5573) Don't return null but throw a CNFE
from BundleClassloader.loadclass and Bundle.loadClass on recursive class
loads.
[ https://issues.apache.org/jira/browse/FELIX-5573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Karl Pauls resolved FELIX-5573.
-------------------------------
Resolution: Fixed
I committed a test that reproduces the issue and a fix in 1784979.
> Don't return null but throw a CNFE from BundleClassloader.loadclass and Bundle.loadClass on recursive class loads.
> ------------------------------------------------------------------------------------------------------------------
>
> 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)