felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] Updated: (FELIX-441) Bundle#loadClass logs a FrameworkEvent.ERROR each time a class can not be found
Date Thu, 20 Dec 2007 16:30:43 GMT

     [ https://issues.apache.org/jira/browse/FELIX-441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Guillaume Nodet updated FELIX-441:
----------------------------------

    Attachment: FELIX-441.patch

Patch fixing the issue and enhancing spec conformance.

> Bundle#loadClass logs a FrameworkEvent.ERROR each time a class can not be found
> -------------------------------------------------------------------------------
>
>                 Key: FELIX-441
>                 URL: https://issues.apache.org/jira/browse/FELIX-441
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: 1.0.0
>            Reporter: Guillaume Nodet
>         Attachments: FELIX-441.patch
>
>
> The specs defines the behavior:
> If this bundle's state is INSTALLED, this method must attempt to resolve 
> this bundle before attempting to load the class. 
> If this bundle cannot be resolved, a Framework event of type Frame- 
> workEvent.ERROR is fired containing a BundleException with details of the 
> reason this bundle could not be resolved. This method must then throw a 
> ClassNotFoundException. 
> but this behavior is not the one that is implemented.

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


Mime
View raw message