Re: FinalizeParams failed when accessing custom component from Java

Scott Cytacki <[email protected]> Wed, 08 Aug 2007 08:09:44 -0400
Newsgroups gmane.comp.mozilla.devel.java
Message-ID <46B9B288.7050204__45896.3712947027$1186575019$gmane$org@concord.org>
Marcus Better wrote:
> Javier Pedemonte wrote:
> > I would have thought that adding that package to the "Exported Packages"
> > section would take care of that.
>
> Perhaps Eclipse uses a separate class loader that doesn't see the classes?
Eclipse does use a separate classloader for each plugin.
Take a look at the latter half of this article:
http://www.eclipsezone.com/articles/eclipse-vms/

It looks like the JavaXPCOM plugin should add the following to its
Manifest.MF

Eclipse-BuddyPolicy: registered

And Marcus your plugin should add:

Eclipse-RegisterBuddy: org.mozilla.xpcom


Scott