Red Hat Bugzilla – Bug 457536
openjdk pluginappletviewer fails when appletviewer works well
Last modified: 2008-10-22 17:29:58 EDT
Description of problem:
Pluginappletviewer from openjdk-1.6.0 fails to run an applet in firefox 3.0.1,
even though java's appletviewer command works well independently on the same
applet .html file. This happens only if there are in the .html applet data
strings that are broken by newline characters ("\n" in Linux). If the string is
short enough, eliminating these newlines fixes the problem, but for long strings
the problem persists probably due to a buffer overflow.
I had to uninstall the openjdk java packets to get these applets to work again
when viewed from firefox embedded in .xml file using java's SE 1.6.0_07.
Version-Release number of selected component (if applicable): 1.6.0
How reproducible: Always
Steps to Reproduce:
Do you have a test case for this?
Try this page
It produces errors caused by the first newline in the string describing INDEPENDENT_VARIABLES. If I eliminate all the newlines in this short string, it will go ahead and fail at the first newline it encounters in the DEPENDENT_VARIABLES string. Here eliminating all newlines doesn't solve the problem because the string is too big.
If there are no newlines in these strings and they are short enough as in the following applet embedded in
then openjdk pluginappletviewer works.
will be in rawhide in the next couple of days.