felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard S. Hall" <he...@ungoverned.org>
Subject Re: Fixed bug in class loading
Date Wed, 12 Apr 2006 09:43:17 GMT
Nick_Hofstede@inventivedesigners.com wrote:
>> * Check to see if there are exporters of the package, but no import
>>   and suggest adding it to the Import-Package declaration.
> ... or DynamicImport-package if it's called from Class.forName()
> Also, log the bundle that tried to load the class, but that's perhaps
> obvious.

Yes, dynamic imports and optional imports are different cases, since 
they can lead to real cases where the bundle will get a class loading 
error, which would be correct. Bundles using these mechanisms should 
expect to see class loading errors, but perhaps there is still something 
useful we can say in the diagnostics.

-> richard

View raw message