[Bug 893] New: garbage characters appended to string value on return from javascript call
bugzilla-daemon at icedtea.classpath.org
bugzilla-daemon at icedtea.classpath.org
Thu Mar 8 02:58:49 PST 2012
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=893
Bug #: 893
Summary: garbage characters appended to string value on return
from javascript call
Classification: Unclassified
Product: IcedTea-Web
Version: unspecified
Platform: x86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P3
Component: Plugin
AssignedTo: dbhole at redhat.com
ReportedBy: dszabo at flyordie.com
CC: unassigned at icedtea.classpath.org
Created attachment 674
--> http://icedtea.classpath.org/bugzilla/attachment.cgi?id=674
java applet source and class file, html file
In javascript, if a string is less than 4 characters long, garbage characters
will be appended to it when returned to Java.
Please refer to this bug report:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7149780
Since they could not reproduce the bug (they could not even run a configuration
with IcedTea), they have closed the bug report.
That's why I'm posting this report to this bug database too.
The problem can be reproduced using
Chrome 17.0.963.56
or
Firefox 10.0.2
using
OpenJDK Runtime Environment (IcedTea6 1.11pre) (6b23~pre11-0ubuntu1.11.10.2)
OpenJDK Client VM (build 20.0-b11, mixed mode, sharing)
on
Linux ubuntu 3.0.0-16-generic #28-Ubuntu SMP Fri Jan 27 17:50:54 UTC 2012 i686
i686 i386 GNU/Linux
Precompiled java applet and html code is available on this url:
http://gs1.flyordie.com/linux-chrome-test/a.html
Values ["", "1", "12","123", "1234", "12345", null] should appear in the first
column of the table.
Instead of "", "1", "12" and "123" values with garbage characters appended will
be displayed. Hex-dump shows character values fffd 62 53 fffd (or similar).
--
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the distro-pkg-dev
mailing list