| [news.eclipse.platform.rcp] Re: buddy class Loading |
|
Raaj, Buddy class loading helps with situations where a library uses things like Class.forName and expects to be able to load a class that's not directly visible to the library.. Use of java.io.Serializeable often leads to this kind of issue as well. Eclipse's bundle-scoped class loaders only let a bundle see classes from library on which it depends directly or indirectly. But you can add Eclipse-BuddyPolicy: dependentto your libraries MANIFEST.MF and then that library will be able to load classes from any other bundles that directly or indirectly depends on the library (kind of the reverse of the normal rule, which also continues to apply... raaj wrote: Hi, |