Commit Graph

61 Commits

Author SHA1 Message Date
John Jiang
4408e4cb4a 8157635: Fix module dependencies for /sun/* tests
Module declarations for the tests in /sun/*

Reviewed-by: alanb
2016-05-25 03:06:24 +01:00
Amy Lu
2d281f78c4 8149920: Remove intermittent key from jdk_core tests
Reviewed-by: darcy
2016-02-18 09:50:55 +08:00
Joe Darcy
1685766e91 8148627: RestrictTestMaxCachedBufferSize.java to 64-bit platforms
Reviewed-by: alanb
2016-01-29 17:03:17 -08:00
Antonios Printezis
816a40ae00 8147468: Allow users to bound the size of buffers cached in the per-thread buffer caches
Introduces the jdk.nio.maxCachedBufferSize property.

Reviewed-by: alanb, bpb
2016-01-28 10:58:10 -05:00
Tobias Hartmann
4ed5b73f3d 8141132: JEP 254: Compact Strings
Adopt a more space-efficient internal representation for strings.

Co-authored-by: Brent Christian <brent.christian@oracle.com>
Co-authored-by: Vivek Deshpande <vivek.r.deshpande@intel.com>
Co-authored-by: Charlie Hunt <charlie.hunt@oracle.com>
Co-authored-by: Vladimir Kozlov <vladimir.kozlov@oracle.com>
Co-authored-by: Roger Riggs <roger.riggs@oracle.com>
Co-authored-by: Xueming Shen <xueming.shen@oracle.com>
Co-authored-by: Aleksey Shipilev <aleksey.shipilev@oracle.com>
Co-authored-by: Sandhya Viswanathan <sandhya.viswanathan@intel.com>
Reviewed-by: alanb, bdelsart, coleenp, iklam, jiangli, jrose, kevinw, naoto, pliden, roland, smarks, twisti
2015-11-03 09:42:11 +01:00
Xueming Shen
360600731c 8022224: Rare bug in JISAutodetect charset detected by FindDecoderBugs test
To update JISAutodetect decoder to return overflow appropriately.

Reviewed-by: chegar, martin
2015-08-06 10:15:55 -07:00
Mandy Chung
53a97cbeb3 8081347: Add @modules to jdk_core tests
Co-authored-by: Alexander Kulyakthin <alexander.kulyakhtin@oracle.com>
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Reviewed-by: alanb, joehw, lancea
2015-05-28 10:54:48 -07:00
Xueming Shen
92bfe45d6a 8060161: re-examine sun/nio/cs/Test4200310.sh, test is invalid for modular image
To remove the invalid test case

Reviewed-by: alanb
2015-05-26 12:34:51 -07:00
Xueming Shen
abaeabd0cd 8042125: Japanese character converters incompatible between Java 7 and Java 8
To add the missing .nr and c2b mapping tables

Reviewed-by: okutsu
2015-05-25 13:52:28 -07:00
Xueming Shen
9e2b6dfd08 8080248: Coding regression in HKSCS charsets
To update the sp correctly when encoding supplementary characters

Reviewed-by: martin
2015-05-21 15:42:30 -07:00
Joe Darcy
8931c0d3b2 8080711: Prepare sun/nio/cs/FindEncoderBugs.java to find intermittent failures
Reviewed-by: rriggs
2015-05-19 18:33:08 -07:00
Amy Lu
5dc10dc506 8080658: Update sun/nio/cs/FindDecoderBugs.java to use random number generator library
Reviewed-by: rriggs
2015-05-19 11:05:52 -04:00
Alan Bateman
dd45b6e84f 8080330: (cs) Charset.availableCharsets failing with NPE on several platforms
Reviewed-by: chegar
2015-05-14 13:45:23 +01:00
Phil Race
b8cf472fe8 Merge 2015-05-05 13:29:31 -07:00
Joe Darcy
86c109e149 8078334: Mark regression tests using randomness
Reviewed-by: xuelei, alanb
2015-04-29 10:25:53 -07:00
Phil Race
e630663bbb 8035302: Eliminate dependency on jdk.charsets from 2D font code
Reviewed-by: mchung, alanb, sherman, serb
2015-04-13 17:06:04 -07:00
Sean Coffey
79240eab9b 8071447: IBM1166 Locale Request for Kazakh characters
Reviewed-by: sherman
2015-02-26 09:36:30 +00:00
Xueming Shen
ece4e20848 8073893: Enable charsets build system to configure euc_tw into java.base module/sun.nio.cs
To enable charsets build system to configure euc_tw into java.base module/sun.nio.cs

Reviewed-by: alanb, mchung
2015-02-25 13:04:31 -08:00
Xueming Shen
81f4c6102a 8030179: java/nio/Buffer/Chars.java, testcases seems all pass but jtreg/testng failed with java.lang.AssertionError
Fix the surrogate corner case in SingleByte charset encoder

Reviewed-by: psandoz, alanb
2015-02-09 11:37:56 -08:00
Richard Warburton
a065473cfc 4774077: Use covariant return types in the NIO buffer hierarchy
Reviewed-by: psandoz, alanb, mr, darcy
2014-10-29 14:10:34 +01:00
Ivan Gerasimov
a9f575446d 8037866: Replace the Fun class in tests with lambdas
Reviewed-by: martin
2014-06-02 19:49:57 +04:00
Pavel Rappo
f7f994834f 8024832: ServerSocketChannel.socket().accept() throws IllegalBlockingModeException if not bound
Reviewed-by: chegar, michaelm, alanb, mr
2014-05-27 10:27:51 +01:00
Xueming Shen
8decb5de90 8039751: UTF-8 decoder fails to handle some edge cases correctly
To update decoder.isMalformed4_2() to correctly detect out of range 2nd byte

Reviewed-by: alanb
2014-04-12 14:38:50 -07:00
Lana Steuck
657b9db1ba 8029235: Update copyright year to match last edit in jdk8 jdk repository for 2013
Updated files with 2011, 2012 and 2013 years according to the file's last updated date

Reviewed-by: tbell, lancea, chegar
2013-12-26 12:04:16 -08:00
Yiming Wang
aa384aeaaf 8022879: TEST_BUG: sun/nio/cs/MalformedSurrogates.java fails intermittently
Reviewed-by: martin
2013-12-19 18:13:19 +00:00
Sergey Bylokhov
9ab430a0d2 8027696: Incorrect copyright header in the tests
Reviewed-by: alanb, malenkov, mullan
2013-11-12 20:24:25 +04:00
Xueming Shen
caf263e5b0 8008386: (cs) Unmappable leading should be decoded to replacement
Updated the unmappable/malformed detecting handling for db charsets

Reviewed-by: naoto
2013-10-21 18:22:39 -07:00
David Katleman
306cab1006 8004982: JDK8 source with GPL header errors
Reviewed-by: ohair
2012-12-20 16:24:50 -08:00
Alan Bateman
430592a30e 7197491: update copyright year to match last edit in jdk8 jdk repository
Reviewed-by: chegar, ksrini
2012-11-02 15:50:11 +00:00
Xueming Shen
e55dd14a45 7186829: test/sun/nio/cs/OLD/JIS_X_0201_OLD.java failed in jdk8 TL nightly build
Fixed the test case

Reviewed-by: alanb
2012-07-25 12:47:28 -07:00
Xueming Shen
b9fa2e4fb9 6653797: Reimplement JDK charset repository charsets.jar
Migrated all jis based charsets to new implementation

Reviewed-by: okutsu
2012-07-24 12:17:39 -07:00
Xueming Shen
50e0a37ed9 7183053: Optimize DoubleByte charset for String.getBytes()/new String(byte[])
DoubleByte implements sun/nio.cs/ArrayDe/Encoder interface

Reviewed-by: alanb
2012-07-17 19:57:31 -07:00
Alan Bateman
08c4f120c9 7172826: (se) Selector based on the Solaris event port mechanism
Reviewed-by: coffeys, chegar
2012-06-06 17:59:29 +01:00
James Melvin
d090606f36 7130404: [macosx] "os.arch" value should be "x86_64" for compatibility with Apple JDK6
On Mac OS X, align system property "os.arch" with Apple legacy JDKs.  Also, improve os.name string matching by using .contains() method instead of .startsWith(). This fix spans multiple repositories.

Reviewed-by: dcubed, phh, ohair, katleman
2012-04-16 18:09:53 -04:00
Alan Bateman
b29ee10938 7143744: (se) Stabilize KQueue SelectorProvider and make default on MacOSX
Reviewed-by: michaelm, chegar
2012-04-16 20:12:20 +01:00
Xueming Shen
d4817a1e4f 7152690: Initialization error with charset SJIS_0213 when security manager is enabled
To use doPrivileged block to wrap the data reading code

Reviewed-by: alanb
2012-04-12 10:55:51 -07:00
Alan Bateman
3ecf3e0fa1 7152866: Tests not run because they are missing the @run tag
Reviewed-by: chegar, dholmes
2012-03-12 10:17:18 +00:00
Alan Bateman
3269d85838 7113349: Initial changeset for Macosx port to jdk
Co-authored-by: Alexander Potochkin <alexander.potochkin@oracle.com>
Co-authored-by: Alexander Zuev <alexander.zuev@oracle.com>
Co-authored-by: Andrew Brygin <andrew.brygin@oracle.com>
Co-authored-by: Artem Ananiev <artem.ananiev@oracle.com>
Co-authored-by: Alex Strange <astrange@apple.com>
Co-authored-by: Bino George <bino@apple.com>
Co-authored-by: Christine Lu <christine.lu@oracle.com>
Co-authored-by: David Katleman <david.katleman@oracle.com>
Co-authored-by: David Durrence <david_durrence@apple.com>
Co-authored-by: Dmitry Cherepanov <dmitry.cherepanov@oracle.com>
Co-authored-by: Greg Lewis <glewis@eyesbeyond.com>
Co-authored-by: Kevin Miller <kevin_m_miller@apple.com>
Co-authored-by: Kurt Miller <kurt@intricatesoftware.com>
Co-authored-by: Landon Fuller <landonf@plausiblelabs.com>
Co-authored-by: Leonid Romanov <leonid.romanov@oracle.com>
Co-authored-by: Loefty Walkowiak <loefty@apple.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Naoto Sato <naoto.sato@oracle.com>
Co-authored-by: Philip Race <philip.race@oracle.com>
Co-authored-by: Roger Hoover <rhoover@apple.com>
Co-authored-by: Scott Kovatch <scott.kovatch@oracle.com>
Co-authored-by: Sergey ByloKhov <sergey.bylokhov@oracle.com>
Co-authored-by: Mike Swingler <swingler@apple.com>
Co-authored-by: Tomas Hurka <tomas.hurka@oracle.com>
Reviewed-by: jjh, alanb, dholmes, anthony, ohrstrom, ksrini, jrose, weijun, smarks
2012-03-06 20:34:38 +00:00
Xueming Shen
b1408532df 7096080: UTF8 update and new CESU-8 charset
7082884: Incorrect UTF8 conversion for sequence ED 31
7082883: Incorrect UTF8 conversion for sequence fc 80 80 8f bf bf

Updated UTF8 and added CESU-8 to following the latest Standard

Reviewed-by: alanb
2011-11-07 13:46:02 -08:00
Xueming Shen
0ec73ca081 6237353: Remove sun.io package from j2se binary
Removed sun.io package and related test cases

Reviewed-by: alanb
2011-08-17 14:14:21 -07:00
Xueming Shen
371bd92aef 7040220: java/char_encodin Optimize UTF-8 charset for String.getBytes()/new String(byte[])
Implement sun.nio.cs.ArrayEn/Decoer in utf8

Reviewed-by: alanb
2011-05-02 11:42:52 -07:00
Xueming Shen
5423e4402e 6803681: RFE: Need new codeset converter for IBM Cp1364
Forward port the Cp1364

Reviewed-by: alanb
2011-03-16 12:16:00 -07:00
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