[rfc][icedtea-web]encoding test

Jiri Vanek jvanek at redhat.com
Wed Aug 8 04:06:54 PDT 2012


updated to latest state

2012-04-18 Jiri Vanek <jvanek at redhat.com>

	added encodings reproducer (PR1108)
	* tests/reproducers/simple/encodingTestsĚŠČŘŽÝÁÍÉĚÉŘŤÝÚŮÍÓÁŠĎŽŹŇ: new reproducer
	* tests/reproducers/simple/encodingTestsĚŠČŘŽÝÁÍÉĚÉŘŤÝÚŮÍÓÁŠĎŽŹŇ/srcs/encodingTest.java:
	main class/main applet class and method of new encodingTestsĚŠČŘŽÝÁÍÉĚÉŘŤÝÚŮÍÓÁŠĎŽŹŇ.jar
	* tests/reproducers/simple/encodingTestsĚŠČŘŽÝÁÍÉĚÉŘŤÝÚŮÍÓÁŠĎŽŹŇ/testcases/encodingTestTest.java:
	testcases for jnlps of this reproducers
	* tests/reproducers/simple/encodingTestsĚŠČŘŽÝÁÍÉĚÉŘŤÝÚŮÍÓÁŠĎŽŹŇ/resources:
	four utf-8 and four iso-8859-2 jnlp files and one utf-8 and one iso-8859-2 html files

On 05/03/2012 03:45 PM, Jiri Vanek wrote:
> ping?
> -------- Original Message --------
> Subject: [rfc][icedtea-web]encoding test
> Date: Wed, 18 Apr 2012 11:12:03 +0200
> From: Jiri Vanek <jvanek at redhat.com>
> To: IcedTea Distro List <distro-pkg-dev at openjdk.java.net>
> On 04/17/2012 03:55 PM, Jiri Vanek wrote:
>> Hi!
>> This is reproducer for incorrect behaviour of icedtea-web when jnlps are in "unexpected" encoding.
>> We are expecting utf-8 everywhere, but windows users can very easily expose jnlps in different one.
>> And we should process them for unix user correctly.
>> I have used ISO-8859-2 encoding to torture icedtea-web.
>> All tests to this encoding have failed. I have added also set of UTF-8 tests above those cases, and
>> all those are passing (so test should be correct).
>> Sorry that diff is not in classical patch format, but diff tools have not cooperate well with mixed
>> utf8/non-utf8 content. And it is just adding files so "applying" should be simple as with patch.
>> Please note, that this adds 3 more passing and three more failing tests - which are representing the
>> issue. Maybe annotation marking this "representatives" will become necessary soon?
>> The name of the directory is so weird because I wanted to create resource containing those unhappy
>> characters. (The engine creates nameOfDirectory.jar)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: encodingReproducersWithApplets2.tar.gz
Type: application/x-gzip
Size: 4837 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20120808/dfddd882/encodingReproducersWithApplets2.tar.gz 

More information about the distro-pkg-dev mailing list