Commit Graph

19 Commits

Author SHA1 Message Date
Kelly O'Hair
6b6a611c8e 6962318: Update copyright year
Reviewed-by: xdono
2010-12-28 15:53:50 -08:00
Xueming Shen
860a7e1fc9 6415373: (cs) UnicodeEncoder emits BOM when there are no bytes to encode
No BOM output if no byte to encode

Reviewed-by: alanb
2010-12-08 12:54:43 -08:00
Xueming Shen
8aaa66c1f7 6217210: RFE: Support for Cp833 in 1.4.2
Forward port the Cp833 charset

Reviewed-by: poonam
2010-11-17 21:33:16 -08:00
Alan Bateman
670501c6c6 6963027: TEST_BUG: channels and buffer tests need to run in samevm mode
Reviewed-by: ohair, sherman, chegar
2010-06-23 20:19:29 +01:00
Xueming Shen
62854e9b81 6963156: TEST_BUG: Several tests under sun/nio/cs failed
Updated the test cases and removed them from ProblemList.txt

Reviewed-by: alanb
2010-06-22 14:04:36 -04:00
Lana Steuck
fd45b4188c Merge 2010-05-28 12:10:14 -07:00
Kelly O'Hair
fe008ae27a 6943119: Rebrand source copyright notices
Reviewed-by: darcy, weijun
2010-05-25 15:58:33 -07:00
Pavel Tisnovsky
fb9c4505a1 6951887: Wrong redirection useage in test sun/nio/cs/Test4200310.sh
Testcase correction.

Reviewed-by: sherman
2010-05-13 10:11:17 +02:00
Xueming Shen
efe409bf8b 6730652: CharsetEncoder.canEncode(char) returns incorrect values for some charsets
Override the canEncode() in ISO2022_CN_CNS

Reviewed-by: martin
2009-08-14 14:29:45 -07:00
Xueming Shen
3c65bb6343 6847092: (cs) CharsetEncoder.isLegalReplacement of US_ASCII behaves differently since
Updated the US_ASCII and ISO-8859-1 to fix the failure.

Reviewed-by: alanb, martin
2009-06-22 19:22:47 -07:00
Xueming Shen
721a90bda5 6299219: euro sign failed to be printed in Console on Localized Windows platform with GBK encoding
4891024: EUC-KR and JOHAB converters need to be updated to include two new characters
4287467: Character converter generator tool

Migrated some of the doublebyte charsets to the new implementation.

Reviewed-by: okutsu
2009-06-19 14:39:06 -07:00
Xueming Shen
f625a6d545 6843578: Re-implement IBM doublebyte charsets
6639450: IBM949C encoder modifies state of IBM949 encoder
6569191: Cp943 io converter returns U+0000 and U+FFFD for unconvertable character
6577466: Character encoder IBM970 throws a BufferOverflowException
5065777: CharsetEncoder canEncode() methods often incorrectly return false

Re-write 11 IBM doublebyte charsets. Thanks Ulf.Zibis for the codereview!

Reviewed-by: martin
2009-05-21 23:32:46 -07:00
Xueming Shen
15baf98a0a 6843079: Putback for the new EUC_TW is not complete
Putback the files missed in last putback

Reviewed-by: alanb
2009-05-19 16:03:02 -07:00
Xueming Shen
a1958b22ef 6831794: charset EUC_TW is 12.6% of the total size of charsets.jar
6229811: Several codepoints in EUC_TW failed in roundtrip conversion

Re-write EUC_TW charset to address the size and roundtrip issue.

Reviewed-by: alanb
2009-05-19 15:25:29 -07:00
Xueming Shen
3f0b988cfc 6636323: Optimize handling of builtin charsets
6636319: Encoders should implement isLegalReplacement(byte[] repl)

Optimized new String(byte[], cs/csn) and String.getBytes(cs/csn) for speed and memory consumption in singlebyte case.

Reviewed-by: alanb
2009-03-23 09:19:23 -07:00
Xueming Shen
790bc3042d 4849617: (cs)Revise Charset spec to allow '+' in names
Update the spec and code to accept '+' as a charset name character

Reviewed-by: alanb
2008-08-27 10:12:22 -07:00
Xueming Shen
630d73eb0a 4486841: UTF-8 decoder should adhere to corrigendum to Unicode 3.0.1
6636317: Optimize UTF-8 coder for ASCII input

Re-write the UTF-8 charset to obey the standard and improve the performance

Reviewed-by: alanb
2008-08-22 14:37:46 -07:00
Xueming Shen
dd2dfec9f5 6675856: Open charset tests
Moved non-confidiential test cased from closed repo to open repo

Reviewed-by: martin
2008-06-30 14:06:34 -07:00
J. Duke
319a3b9947 Initial load 2007-12-01 00:00:00 +00:00