Hi,

Thanks Guillaume and Richard for fixing this !

I had similar issues in the JSP support for Apache Sling, where we tried
to load classes from bundles and were ready to handle
ClassNotFoundException but certainly not a Framework.ERROR.

Regards
Felix

Am Donnerstag, den 20.12.2007, 08:28 -0800 schrieb Guillaume Nodet
(JIRA):
> 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
> 
> 
> 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.
> 

Reply via email to