icedtea-java7-plugin strangeness with anis.class
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
icedtea-java7 (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
I am running Ubuntu Gutsy 2.6.22-14-generic on an AMD64 machine 4 processors
Linux version 2.6.22-14-generic (buildd@king) (gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)) #1 SMP Tue Dec 18 05:28:27 UTC 2007
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz
stepping : 11
cpu MHz : 1596.000
cache size : 4096 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 4
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm constant_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm
bogomips : 4803.24
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
Here is the output from 'java -version'
jim@charlton7:
java version "1.7.0"
IcedTea Runtime Environment (build 1.7.0-b22)
IcedTea 64-Bit Server VM (build 1.7.0-b22, mixed mode)
I am running Mozilla/Firefox Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.11) Gecko/20071204 Ubuntu/7.10 (gutsy) Firefox/2.0.0.11
When I go to http://
Here is the relevant section of the source code
******
<APPLET codebase="http://
<PARAM NAME="controls" VALUE="startstop, looprock, step, speed, toggle, zoom, firstlast, refresh">
<PARAM NAME="auto_refresh" VALUE="30">
<PARAM NAME="rate" VALUE="80">
<PARAM NAME="pause_
<PARAM name="no_enh" value="true">
<PARAM name="use_IP" value="true">
<PARAM NAME="filenames" VALUE="http://
*****
If I save the whole source page as an html file and change the above code segment to
*****
<APPLET codebase="http://
<PARAM NAME="controls" VALUE="startstop, looprock, step, speed, toggle, zoom, firstlast, refresh">
<PARAM NAME="auto_refresh" VALUE="30">
<PARAM NAME="rate" VALUE="80">
<PARAM NAME="pause_
<PARAM name="no_enh" value="true">
<PARAM name="use_IP" value="true">
<PARAM name="image_base" value="http://
<PARAM NAME="filenames" VALUE="
******
Then loading this file from Firefox now works exactly perfectly... just like my Windows XP machine using Sun Java, works on the original http://
The AniS code is described on http://
Since the AniS code appears in many web pages, it is a bit annoying to have it often not work on my Linux box using Firefox and IcedTea.
Anyone have a clue as to why IcedTea Java won't execute the first given code properly. I am really not a Java expert myself.
Further comments on this problem.
By running firefox in a terminal window I can see the error. The Java implementation is not ignoring the carriage return at the end of the line in the list of filenames.
This works...
<PARAM NAME="filenames" VALUE="http:// www.goes. noaa.gov/ GSSLOOPS/ wcir/1. jpg, http:// www.goes. noaa.gov/ GSSLOOPS/ wcir/2. jpg, http:// www.goes. noaa.gov/ GSSLOOPS/ wcir/3. jpg, http:// www.goes. noaa.gov/ GSSLOOPS/ wcir/4. jpg, http:// www.goes. noaa.gov/ GSSLOOPS/ wcir/5. jpg, http:// www.goes. noaa.gov/ GSSLOOPS/ wcir/6. jpg, http:// www.goes. noaa.gov/ GSSLOOPS/ wcir/7. jpg, http:// www.goes. noaa.gov/ GSSLOOPS/ wcir/8. jpg">
(one continuous string)
but this does not work
<PARAM NAME="filenames" VALUE="http:// www.goes. noaa.gov/ GSSLOOPS/ wcir/1. jpg,
http:// www.goes. noaa.gov/ GSSLOOPS/ wcir/2. jpg,
http:// www.goes. noaa.gov/ GSSLOOPS/ wcir/3. jpg,
http:// www.goes. noaa.gov/ GSSLOOPS/ wcir/4. jpg,
http:// www.goes. noaa.gov/ GSSLOOPS/ wcir/5. jpg,
http:// www.goes. noaa.gov/ GSSLOOPS/ wcir/6. jpg,
http:// www.goes. noaa.gov/ GSSLOOPS/ wcir/7. jpg,
http:// www.goes. noaa.gov/ GSSLOOPS/ wcir/8. jpg">
All but the first filename is mangled because a "/n" and several spaces are added to the beginning of the filename.
Regular Sun Java on my windows XP machine executes the applet code just fine and does not seem to mangle the filenames even though they appear on separate lines as above.