[RFC] plugin: fix getApplets()
Omair Majid
omajid at redhat.com
Fri Jul 2 06:36:05 PDT 2010
Hi,
The attached patch fixes AppletContext.getApplets() in the plugin.
The problem was that when the constructor PluginAppletViewer was called,
panel was null. This null panel was then added to the list of all
panels. Future calls to getApplets() will get to this null panel and
throw a NullPointerException. The patch sets panel to the actual
AppletPanel before adding it to the list of all panels.
This fixes a bug with applets on sbm.no not working. Please see [1] for
the reproducer and user feedback on the patch. Ok to commit?
Cheers,
Omair
[1] https://bugzilla.redhat.com/show_bug.cgi?id=506730
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: icedtea6-plugin-set-applet-panel-before-using-it.patch
Url: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20100702/78dc2c02/icedtea6-plugin-set-applet-panel-before-using-it.patch
More information about the distro-pkg-dev
mailing list