← Back to team overview

openjdk team mailing list archive

[Bug 359407] Re: Jaunty icedtea6-plugin doesn’t work in Firefox 3.5

 

In the upstream bug I've discovered the reason for this problem.

IcedTeaPlugin in the OpenJDK package is built against the xulrunner
1.9.0 headers and uses the nsIProcess ID from xulrunner 1.9.0:
"9DA0B650-D07E-4617-...".

The problem is that xulrunner 1.9.1 has changed the Interface ID (IID)
of the nsIProcess component (an additional member has been added to the
interface) - it is now "D573F1F3-FCDD-4DBE-...".

As a result, when the current IcedTeaPlugin tries to create an
nsIProcess component for Firefox 3.5, xulrunner 1.9.1 can't find the
component and returns NS_NOINTERFACE.

I'm exploring whether IcedTeaPlugin could be patched to query the
nsIProcess interface to select the correct IID to use, or else catch
this error and try the newer IID before giving up.

-- 
Jaunty icedtea6-plugin doesn’t work in Firefox 3.5
https://bugs.launchpad.net/bugs/359407
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in ubuntu.

Status in The Mozilla Firefox Browser: New
Status in “firefox-3.5” package in Ubuntu: Confirmed
Status in “openjdk-6” package in Ubuntu: Confirmed
Status in “iceweasel” package in Debian: New

Bug description:
On Jaunty amd64 with icedtea6-plugin 6b14-1.4.1-0ubuntu6, Java applets work in Firefox 3.0, but not in Firefox 3.5.  The following messages show up on the console:

$ firefox-3.5
../IcedTeaPlugin.cc:3852: Error: create process
../IcedTeaPlugin.cc:1662: Error: started appletviewer

(firefox-3.5:13746): GLib-CRITICAL **: g_io_channel_write_chars: assertion `channel != NULL' failed
../IcedTeaPlugin.cc:4061: Error: Failed to write bytes to output channel

(firefox-3.5:13746): GLib-CRITICAL **: g_io_channel_flush: assertion `channel != NULL' failed
../IcedTeaPlugin.cc:4075: Error: Failed to flush bytes to output channel

(firefox-3.5:13746): GLib-CRITICAL **: g_io_channel_write_chars: assertion `channel != NULL' failed
../IcedTeaPlugin.cc:4061: Error: Failed to write bytes to output channel

(firefox-3.5:13746): GLib-CRITICAL **: g_io_channel_flush: assertion `channel != NULL' failed
../IcedTeaPlugin.cc:4075: Error: Failed to flush bytes to output channel



References