Status of Java XPCOM?
Alex Milowski <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.java |
|---|---|
| Message-ID | <VqOdnV_nKOUKGhDZnZ2dnUVZ_s6dnZ2d__5478.37056587941$1150126240$gmane$org@mozilla.org> |
I've been looking into trying to build XPCOM components in
Java and it is unclear of the status of the java component
loader:
https://bugzilla.mozilla.org/show_bug.cgi?id=299263
...and what the proposed solution for describing Java XPCOM
components.
I really would like to try this out as I have an application
where the LiveConnect just won't work. Turns out there is
a bug where the browser crashes if you try to use non-applet
code to call back to javascript (JSObject.getWindow(...) must
be called to initialize the 'handle').
In the end, I'd rather have a XPCOM component directly
implemented in Java rather than a Javascript wrapper.
I've also built Firefox from the trunk and XULRunner and I
see that the JavaXPCOM project is in there by default. It is
also in XULRunner 1.8.0.4 but it isn't in Firefox 1.5.0.4.
Another more generate XULRunner/Firefox/Mozilla question is
that, on Linux, the libjavaxpcomglue.so shared library
that is generated doesn't seem to be linked (according to ldd) to the
xulrunner or firefox binaries. So, how does it get loaded? In the
end, I'm wondering if firefox 1.5.x can be patched to
provide Java XPCOM components in extensions in the near term.
If there is something to test, or some other task that needs
to be done, let me know. I'm very interested in getting this
to work and would like to help however I can.
--Alex Milowski