Commit Graph

302 Commits

Author SHA1 Message Date
Neil Richards
7f998c2049 6312706: Map entrySet iterators should return different entries on each call to next()
Reviewed-by: mduigou, alanb
2011-04-06 09:31:13 -07:00
Xueming Shen
363df8be6a 6751338: ZIP inflater/deflater performance
To use GetPrimitiveArrayCritical for bye array access

Reviewed-by: bristor, alanb
2011-04-04 11:30:55 -07:00
Mandy Chung
47a20b7526 6381464: SimpleFormatter should use one single line format
Define a new logging properties to support custom output format

Reviewed-by: alanb
2011-03-29 15:58:18 -07:00
Mandy Chung
793f1078b6 7024172: Move BufferPoolMXBean and PlatformLoggingMXBean java.lang.management
Reviewed-by: alanb
2011-03-29 15:50:55 -07:00
Weijun Wang
f7860d24d9 7023056: NPE from sun.security.util.ManifestEntryVerifier.verify during Maven build
Reviewed-by: mullan
2011-03-25 11:58:30 +08:00
Mike Duigou
af9167398f 7029491: fix broken test file committed with CR 5045147
An incorrect file was committed with CR 5045147. This commit corrects that error and also applies minor review suggestions.

Reviewed-by: alanb
2011-03-21 11:31:54 -07:00
Mike Duigou
deb8d5a4ff 5045147: Prevent insertion of null Key into empty TreeMap (and null element into TreeSet) when no Comparator is used. Prevent insertion of key of incorrect type into empty TreeMap and incorrect type element into TreeSet and incorrect type when Comparator is used
Reviewed-by: alanb, dl, mduigou
2011-03-17 14:42:40 -07:00
David Holmes
117062efaa Merge 2011-03-15 20:00:45 -04:00
Neil Richards
b96d0e610a 7014637: Improve behavior of EnumSet Iterator.remove()
Reviewed-by: mduigou, alanb
2011-03-14 14:49:52 -07:00
Naoto Sato
d7b9fcfbd4 7023613: (lc) Incorrect string returned by Locale.toString() with non-empty script field
Reviewed-by: srl
2011-03-11 11:31:10 -08:00
Lana Steuck
d67aed550b Merge 2011-03-10 19:38:44 -08:00
Alan Bateman
a36a5ce599 7025468: Tests using diamond with anonymous inner classes needs to be reverted
Reviewed-by: dholmes, forax
2011-03-08 10:32:18 +00:00
Lana Steuck
8b14c7551d Merge 2011-03-07 14:48:27 -08:00
Lana Steuck
5f0efd5e7c Merge 2011-03-07 11:36:37 -08:00
Lana Steuck
1b471215b4 Merge 2011-03-05 20:54:53 -08:00
Stuart Marks
cea2f39843 7021582: convert jar/zip code and tests to use try-with-resources
Reviewed-by: alanb, dholmes, sherman
2011-02-25 02:06:10 -08:00
Masayoshi Okutsu
2b3aef04c3 6772689: java.sql.Date.valueOf("2042-10-xx").toString() wrong in some time zones
Reviewed-by: peytoia
2011-02-24 16:29:42 +09:00
Lana Steuck
d686419127 Merge 2011-02-23 10:29:15 -08:00
Stuart Marks
dd0e38d73a 7021209: convert lang, math, util to use try-with-resources
Reviewed-by: alanb, darcy, naoto
2011-02-22 15:34:17 -08:00
Mike Duigou
7ddd950b1d 7019705: Add -XX:+AggressiveOpts options to MOAT test
Reviewed-by: alanb
2011-02-21 14:53:11 -08:00
Lana Steuck
9e058711b1 Merge 2011-02-21 14:33:58 -08:00
Lana Steuck
12134b9ba9 Merge 2011-02-21 14:31:07 -08:00
Chris Hegarty
e5d4746fb4 7017901: OOME in java/util/concurrent/BlockingQueue/CancelledProducerConsumerLoops.java
Unbounded queues should be disabled in the test

Reviewed-by: alanb
2011-02-17 09:56:38 +00:00
Masayoshi Okutsu
0bfde7d243 6936350: API clarification needed on useDaylightTime() for timezones that have defined usage dates
Reviewed-by: peytoia
2011-02-16 16:51:21 +09:00
Neil Richards
32b8c54ea3 6927486: Hashtable writeObject() may deadlock
Do not synchronize on self while writing hash table elements

Reviewed-by: alanb, mduigou
2011-02-14 11:00:02 -08:00
Neil Richards
709cabc2f1 6934356: Vector.writeObject() serialization may deadlock
No longer synchronize on self while writing other objects.

Reviewed-by: alanb, forax, mduigou, peterjones
2011-02-14 10:38:51 -08:00
Lana Steuck
3eb4164d84 Merge 2011-02-11 12:14:38 -08:00
Lana Steuck
6641ee235d Merge 2011-02-09 10:28:20 -08:00
Vladimir Yaroslavskiy
35f815a7b4 7018258: Dual-pivot updates in 7013585 can fail with ArrayIndexOutOfBoundsException
Reviewed-by: alanb
2011-02-09 15:59:27 +00:00
Lana Steuck
3899723bda Merge 2011-02-08 14:25:33 -08:00
Lana Steuck
458118d44d Merge 2011-02-08 14:19:54 -08:00
Naoto Sato
47a983f28a 7015500: Locale.toLanguageTag() uses "und" as lang subtag for private use only Locale
Reviewed-by: srl
2011-02-08 09:04:30 -08:00
Vladimir Yaroslavskiy
477c01454f 7013585: Dual-pivot quicksort improvements for highly structured (nearly sorted) and data with small periods
Reviewed-by: mduigou, alanb
2011-02-08 15:50:30 +00:00
Xueming Shen
6435c3ecac 7014645: Support perl style Unicode hex notation \x{...}
Added the construct \x{...} for Unicode hex notation support

Reviewed-by: alanb, okutsu
2011-02-03 13:49:25 -08:00
Brian Goetz
ce8ab39164 7012540: java.util.Objects.nonNull() incorrectly named
Reviewed-by: darcy, weijun
2011-02-02 13:13:34 -05:00
Lana Steuck
cb72d9f503 Merge 2011-01-19 19:00:30 -08:00
Doug Lea
677a39996a 7005424: Resync java.util.concurrent classes with Dougs CVS - Jan 2011
Reviewed-by: dholmes, chegar, mduigou
2011-01-12 14:40:36 +00:00
Chris Hegarty
e208093ec8 7000511: PrintStream, PrintWriter, Formatter, Scanner leave files open when exception thrown
Reviewed-by: alanb, mduigou
2011-01-07 13:08:18 +00:00
Lana Steuck
388f2f8c41 Merge 2011-01-06 18:05:56 -08:00
Lana Steuck
87a68ef861 Merge 2011-01-04 23:41:13 -08:00
Lana Steuck
fb91d40572 Merge 2011-01-04 17:05:38 -08:00
Xueming Shen
022d6b1633 7009618: regression test failed caused by the fix for 7003462
Avoid caching the "ended" Inflater in ZipFile class

Reviewed-by: alanb
2011-01-04 14:17:45 -08:00
Kelly O'Hair
6b6a611c8e 6962318: Update copyright year
Reviewed-by: xdono
2010-12-28 15:53:50 -08:00
Masayoshi Okutsu
f2bb972af4 7003643: [Fmt-Me] MessageFormat.toPattern produces wrong quoted string and subformat modifiers
7008195: [Fmt-Me] Improve MessageFormat.applyPattern performance

Reviewed-by: naoto, peytoia
2010-12-27 14:13:52 +09:00
Lana Steuck
4010e0a7cb Merge 2010-12-22 23:12:17 -08:00
Lana Steuck
c02539239e Merge 2010-12-22 16:57:08 -08:00
Naoto Sato
c84359f622 4940539: Constructor of java.util.Locale should handle ISO 639-2 Language Codes
Reviewed-by: okutsu
2010-12-21 16:14:14 -08:00
Stuart Marks
6e7cb44eea 6880112: Project Coin: Port JDK core library code to use diamond operator
Reviewed-by: darcy, lancea, alanb, briangoetz, mduigou, mchung
2010-12-20 13:47:04 -08:00
Lana Steuck
9ed3faea7a Merge 2010-12-13 16:25:26 -08:00
Xueming Shen
675d4c42a3 7003462: cannot read InputStream returned by java.util.ZipFile.getInputStream(ZipEntry)
The returned InflatedInputStream object should be kept in map streams

Reviewed-by: alanb
2010-12-13 14:12:56 -08:00
Naoto Sato
c961543922 7002320: Locale.forLanguageTag()/toLanguageTag() not working properly with ja_JP_JP locale
Reviewed-by: dougfelt
2010-12-13 13:16:08 -08:00
Lana Steuck
612fdb2793 Merge 2010-12-12 15:28:57 -08:00
Doug Lea
f9a00e6199 7003745: Code style cleanups (sync from Dougs CVS)
Reviewed-by: chegar, dholmes
2010-12-01 21:46:52 +00:00
Lana Steuck
366828ecb8 Merge 2010-11-30 15:07:42 -08:00
Lana Steuck
a0eaaf3f1e Merge 2010-11-29 10:50:49 -08:00
Naoto Sato
d2a42e4896 6807534: CurrencyNameProvider.getDisplayName(String, Locale) doesn't throw IllegalArgumentException
Reviewed-by: okutsu
2010-11-24 15:26:41 -08:00
Naoto Sato
0386e25365 6930106: Testcases with legal notice problems
Reviewed-by: ohair
2010-11-23 13:06:57 -08:00
Doug Lea
823b331f15 6712185: java/util/concurrent/Executors/AutoShutdown.java fails on slow or busy systems
Reviewed-by: chegar, alanb
2010-11-19 10:43:24 +00:00
Naoto Sato
1451cced85 6997999: Remove duplicated entries from ISO language/country code tables
Reviewed-by: okutsu
2010-11-16 10:47:01 -08:00
Xueming Shen
0407a3cf9e 6544278: SecurityException not thrown for Indexed Jar file whose signature is corrupted
Added code to deal with the index case specially.

Reviewed-by: mullan
2010-11-15 09:42:39 -08:00
Chris Hegarty
cdcbbea8cb 6993789: LinkedBlockingDeque iterator/descendingIterator loops and owns lock forever
Reviewed-by: dl, dholmes
2010-11-15 15:11:04 +00:00
Lana Steuck
c420cdefc2 Merge 2010-11-13 18:56:50 -08:00
Kelly O'Hair
39a2b6c9ff 6792706: Add JAR file to bootclasspath when using AggressiveOpts
Reviewed-by: alanb, kvn, darcy
2010-11-08 09:29:18 -08:00
Naoto Sato
ddf465f954 6997928: LocaleCategory test fails with b118 PIT
Reviewed-by: sherman
2010-11-05 20:58:10 -07:00
Lana Steuck
431c033058 Merge 2010-11-04 15:38:39 -07:00
Lana Steuck
fba090f3e8 Merge 2010-11-02 19:40:45 -07:00
Lana Steuck
458c60b276 Merge 2010-11-02 12:45:49 -07:00
Naoto Sato
63cb31c203 6989111: Incorrect default locale for New Zealand
6990452: Provide system properties for the user specified script
6992312: Currency becomes XXX if do not specify user.country.format

Reviewed-by: okutsu
2010-11-02 10:34:46 -07:00
Naoto Sato
d6aaa2692f 6993339: Bug4168625Test.java fails
Reviewed-by: peytoia
2010-10-22 11:32:26 -07:00
Mandy Chung
d0f3de3b59 6992121: StringBuilder.ensureCapacity(int minCap) throws OutOfMemoryError with minCap=Integer.MIN_VALUE
Reviewed-by: dholmes, alanb
2010-10-19 10:02:25 -07:00
Lana Steuck
45d07f9520 Merge 2010-10-18 21:50:02 -07:00
Yoshito Umaoka
8df28ab0e3 6992272: I18N: Locale.getDisplayName() and toString() return empty if just script is set
Reviewed-by: srl
2010-10-18 14:45:00 -07:00
Lana Steuck
649b50b659 Merge 2010-10-15 11:45:30 -07:00
Vladimir Yaroslavskiy
aa1307fc6e 6976036: Dual-pivot quicksort update (10/2010 tune-up)
Reviewed-by: alanb
2010-10-15 12:10:32 +01:00
Yoshito Umaoka
822884735d 6989440: tomcat test from dacapo benchmark fails with ConcurrentModificationException
Reviewed-by: okutsu
2010-10-12 17:09:14 -07:00
Lana Steuck
53e6cf8989 Merge 2010-09-25 12:00:05 -07:00
Doug Lea
94ffffd5cb 6981113: Add ConcurrentLinkedDeque
Extend techniques developed for ConcurrentLinkedQueue and LinkedTransferQueue to implement a non-blocking concurrent Deque with interior removes.

Reviewed-by: martin, dholmes, chegar
2010-09-20 18:05:09 -07:00
Lana Steuck
a682d9348d Merge 2010-09-16 11:19:43 -07:00
Lana Steuck
3921d2c36d Merge 2010-09-16 11:17:32 -07:00
Masayoshi Okutsu
65b5c68b97 6984418: (cal) GregorianCalendar.setWeekDate doesn't check parameter consistency in non-lenient
Reviewed-by: peytoia
2010-09-14 16:47:28 +09:00
Doug Lea
a4641686a0 6978087: jsr166y Updates
Simplify the ForkJoinPool API, reworking some of the internals

Reviewed-by: martin, dholmes, chegar
2010-09-13 09:55:03 +01:00
Yoshito Umaoka
fbca39ee5d 6875847: Java Locale Enhancement
Co-authored-by: Doug Felt <dougfelt@google.com>
Co-authored-by: Mark Davis <markdavis@google.com>
Reviewed-by: srl
2010-09-10 15:29:40 -07:00
Masayoshi Okutsu
dea3e2e152 6912560: Timezone is not set correctly on Win Vista when Security manager is present
6941137: DST broken in 6u18 when jre/lib/zi is moved elsewhere and replaced with symlink

Reviewed-by: peytoia
2010-09-10 17:51:53 +09:00
Kelly O'Hair
f7e31fc6c2 6982137: Rebranding pass 2 - missed copyright changes
Reviewed-by: mbykov
2010-09-09 16:26:46 -07:00
Naoto Sato
9a37a1e776 6930062: Need to remove or build as part of the test file jdk/test/java/util/Locale/data/deflocale.exe
Reviewed-by: okutsu
2010-09-02 11:13:42 -07:00
Naoto Sato
caef089b98 6981759: copyright header fix for test/java/util/Locale/LocaleCategory.java
Reviewed-by: okutsu
2010-09-02 11:09:09 -07:00
Masayoshi Okutsu
bb11fa02a6 Merge 2010-09-02 10:52:52 +09:00
Naoto Sato
63495e2114 6981466: Adding missing test LocaleCategory.java
Reviewed-by: okutsu
2010-08-31 23:56:17 -07:00
Masayoshi Okutsu
d950166573 4267450: (cal) API: Need public API to calculate, format and parse "year of week"
6549953: (cal) WEEK_OF_YEAR and DAY_OF_YEAR calculation problems around Gregorian cutover

Reviewed-by: peytoia
2010-09-01 15:19:13 +09:00
Naoto Sato
6d2cb04013 4700857: RFE: separating user locale and user interface locale
Reviewed-by: okutsu
2010-08-31 11:27:10 -07:00
Daniel D. Daugherty
cf3105821b 6971847: 4/4 jmap '-histo:live' option is necessary for proper leak detection
Add work around for 6971851. Abort if 'histo:live' option isn't supported.

Reviewed-by: alanb, darcy
2010-07-26 09:06:47 -07:00
Daniel D. Daugherty
7dea7787e2 6964018: 3/4 AnonLoggerWeakRefLeak and LoggerWeakRefLeak can fail in JPRT
Refactor test/sun/tools/common/* code and refactor AnonLoggerWeakRefLeak and LoggerWeakRefLeak to use it.

Reviewed-by: ohair, alanb
2010-07-21 17:01:31 -07:00
Daniel D. Daugherty
ccbd107813 6968401: 3/3 disable tests added by 6942989 until 6964018 is fixed
Disable AnonLoggerWeakRefLeak.sh and LoggerWeakRefLeak.sh

Reviewed-by: ohair
2010-07-12 14:19:44 -07:00
Vladimir Yaroslavskiy
6593dfa333 6947216: Even more Dual-pivot quicksort improvements
Reviewed-by: jjb
2010-07-01 16:28:08 +01:00
Jeremy Manson
9a0c9857b1 6942989: 2/2 Memory leak of java.lang.ref.WeakReference objects
Use ReferenceQueues to manage WeakReferences in LogManager and Logger.

Reviewed-by: dholmes, alanb, emcmanus, tonyp
2010-06-22 10:54:59 -07:00
Xueming Shen
12d90b9484 6962067: TEST_BUG: Tests in java/util/zip/ZipFile leave file open
Close zipfile and io stream when done

Reviewed-by: alanb
2010-06-17 13:21:46 -07:00
Mandy Chung
ec720fb754 6961408: test/java/util/logging/ParentLoggersTest.java fails in samevm mode
Check against the list of loggers added since the test begins to run

Reviewed-by: dcubed
2010-06-16 23:27:41 -07:00
Lana Steuck
ce4febb72c Merge 2010-06-16 14:07:47 -07:00
Mandy Chung
008e969429 6961506: TEST_BUG: ResourceBundle/Bug4168625Test.java and TestBug4179766.java fails in samevm mode
Set the proper parent class loader of Loader and SimpleLoader

Reviewed-by: naoto
2010-06-15 20:34:49 -07:00
Mandy Chung
fc99cf1793 6961518: TEST_BUG: add @run main/othervm in tests that call setSecurityManager
Mark tests to run in othervm

Reviewed-by: ohair
2010-06-15 20:29:22 -07:00
Mandy Chung
9e05cd8605 6959641: testcase failing java/util/Locale/Bug4184873Test.java
Revert the Bug4184873_{he,id,yi} files to revision 0 (before rebranding)

Reviewed-by: naoto
2010-06-15 09:54:03 -07:00
Lana Steuck
27a539e27c Merge 2010-06-07 17:08:26 -07:00
Lana Steuck
fd45b4188c Merge 2010-05-28 12:10:14 -07:00
Kelly O'Hair
80b67f81af 6956202: Fix a few missed rebranding issues, please contact lines etc
Reviewed-by: jjg, darcy, weijun
2010-05-26 20:28:04 -07:00
Kelly O'Hair
fe008ae27a 6943119: Rebrand source copyright notices
Reviewed-by: darcy, weijun
2010-05-25 15:58:33 -07:00
Xueming Shen
0bc8b10673 4691425: GZIPInputStream fails to read concatenated .gz files
To support concatenated .gz streams

Reviewed-by: martin
2010-05-24 00:39:57 -04:00
Xueming Shen
bb2be852aa 6945564: Unicode script support in Character class
6948903: Make Unicode scripts available for use in regular expressions

Added Unicode script suport

Reviewed-by: martin
2010-05-18 15:36:47 -07:00
Xueming Shen
6d1dc62ab1 4813885: RFE: GZIPOutputStream should implement flush using Z_SYNC_FLUSH
Added new constructors to allow flush() work in Z_SYNC_FLUSH mode

Reviewed-by: martin
2010-05-17 12:19:49 -07:00
Martin Buchholz
75e3cde928 6937857: Concurrent calls to new Random() not random enough
Seed uniquifier should use an independent PRNG

Reviewed-by: dl
2010-05-09 16:03:13 -07:00
Martin Buchholz
b455514c89 6950540: PriorityQueue(collection) should throw NPE if collection contains a null
Rewrite PriorityQueue constructors for best performance and error handling

Reviewed-by: dholmes, chegar
2010-05-09 00:59:49 -07:00
Lana Steuck
561ea30dc6 Merge 2010-04-20 16:51:13 -07:00
Naoto Sato
4d2c11649f 6943941: Rebranding issues with some tests in jdk/test/java/util
Reviewed-by: ohair
2010-04-19 14:48:46 -07:00
Xueming Shen
d0a7eafe8d 6931676: TEST_BUG: wrong value for bugid in comments
Update to the correct bugid

Reviewed-by: martin
2010-04-15 17:00:55 -07:00
Martin Buchholz
6b4917957f 6941130: Semaphore should throw if number of permits overflows or underflows
Check if release could make number of permits negative

Reviewed-by: dl, dholmes
2010-04-07 12:30:49 -07:00
Lana Steuck
bf5a0d88c1 Merge 2010-02-09 00:05:16 -08:00
Xueming Shen
ff1e82994b 6923692: java/classes_util TEST_BUG:ReadZip.java fails when
To create the test file at test.dir

Reviewed-by: alanb
2010-02-06 09:26:57 -08:00
Xueming Shen
9ff3b18578 6919132: Regex \P{Lu} selects half of a surrogate pari
To use StartS for complement category/block class

Reviewed-by: martin, okutsu
2010-02-05 00:10:42 -08:00
Lana Steuck
2eabbe8ed9 Merge 2010-01-28 16:12:06 -08:00
Andrew John Hughes
74452cc018 6584033: (tz) wrong buffer length in TimeZone_md.c
Add testcase for this bug

Reviewed-by: darcy, okutsu
2010-01-08 12:51:15 +00:00
Kelly O'Hair
c49eb02208 6911108: These tests do not work with CYGWIN: java/util
Reviewed-by: tbell, alanb
2010-01-04 15:52:38 -08:00
Doug Lea
dc8d9d049e 6908348: java/util/concurrent/BlockingQueue/CancelledProducerConsumerLoops.java get OOME for unbounded queues
Reviewed-by: martin, dholmes
2009-12-23 15:57:14 -08:00
Pavel Tisnovsky
9e74b05b9c 6912628: test/java/util/jar/JarFile/TurkCert.java cannot be run in samevm mode
Added tag to run this test in othervm

Reviewed-by: chegar
2009-12-23 11:18:58 +01:00
Joe Darcy
c40412f4f4 6907177: Update jdk tests to remove unncessary -source and -target options
Reviewed-by: ohair
2009-12-03 18:19:10 -08:00
Kelly O'Hair
cd8f275bdb 6903197: Some java template files need to be renamed to .java.template
Reviewed-by: alanb
2009-11-30 14:15:15 -08:00
Vladimir Yaroslavskiy
0d83336729 6899694: Dual-pivot quicksort improvements
Co-authored-by: Joshua Bloch <joshua.bloch@google.com>
Reviewed-by: jjb
2009-11-11 14:38:01 +00:00
Tim Bell
44accdb4b7 Merge 2009-11-06 17:27:41 -08:00
Martin Buchholz
450da8a061 6897553: LinkedList performance improvements
LinkedList of size N creates N+1 instead of N+2 objects.  Comparing against null is faster than comparing against sentinel node

Reviewed-by: dl, jjb, forax
2009-11-05 16:12:45 -08:00
Doug Lea
ef2dd097cc 6865582: jsr166y - jsr166 maintenance update
6865571: Add a lightweight task framework known as ForkJoin
6445158: Phaser - an improved CyclicBarrier
6865579: Add TransferQueue/LinkedTransferQueue

Reviewed-by: martin, chegar, dice
2009-11-02 17:25:38 -08:00
Xueming Shen
d9eeb64ea6 6894950: test/java/util/zip/Bounds.java fails with OoutOfMemoryError
Fixed the boundary check in Deflater.java

Reviewed-by: alanb
2009-10-30 13:01:16 -07:00
Vladimir Yaroslavskiy
b36e33e9e0 6896573: Arrays.sort(long[]) fails with StackOverflowError
Reviewed-by: jjb
2009-10-30 15:06:24 +00:00
Mandy Chung
37ce341049 6896422: Add @ignore to test/java/util/zip/Bounds.java
Ignore test/java/util/zip/Bounds.java until 6896424 is resolved

Reviewed-by: sherman
2009-10-29 09:22:00 -07:00
Mandy Chung
f66cba870b 6876135: Add PlatformLoggingMXBean to eliminate the dependency on JMX from logging
Added a new PlatformLoggingMXBean interface to extend PlatformManagedObject instead of LoggingMXBean

Reviewed-by: alanb
2009-10-27 16:32:23 -07:00
Joe Darcy
0452077b9a 6891113: More methods for java.util.Objects: deepEquals, hash, toString with default
Reviewed-by: alanb, gafter
2009-10-23 11:18:17 -07:00
Xueming Shen
30e3c9dc22 4206909: want java.util.zip to work for interactive use (Z_SYNC_FLUSH)
Add sync_flush option into Deflater/DefalterOutputStream

Reviewed-by: martin, alanb
2009-10-21 11:50:25 -07:00
Xueming Shen
e5745ffc8c 6878475: Better syntax for the named capture group in regex
Updated the syntax of the newly added named capture group

Reviewed-by: martin, alanb
2009-10-21 11:40:40 -07:00
Joshua Bloch
c225292004 6889858: Add nonNull methods to java.util.Objects
Reviewed-by: darcy
2009-10-19 16:31:48 -07:00
Joe Darcy
eca779ecad 6797535: Add shared two argument static equals method to the platform
Reviewed-by: sherman
2009-10-09 16:11:11 -07:00
Yuri Nesterenko
5d7bb00c89 Merge 2009-09-15 23:41:40 -07:00
Yuri Nesterenko
926d6d625a Merge 2009-09-09 00:51:06 -07:00
Yuka Kamiya
be422eef48 6851214: (tz) New Jordan rule creates a failure for SimpleTimeZone parsing post tzdata2009h
Reviewed-by: okutsu
2009-08-31 12:55:15 +09:00
Doug Lea
28c28df142 6868712: Improve concurrent queue tests
Fix all known flaky tests, plus minor maintenance

Reviewed-by: martin, chegar
2009-08-25 19:19:42 -07:00
Xueming Shen
fcfe031b58 6676423: (prefs) Opensource unit/regression tests for java.util.prefs
Moved the existing test cases for prefs to open area

Reviewed-by: martin, alanb
2009-08-13 15:01:18 -07:00
Josh Bloch
827200b265 6804124: Replace "modified mergesort" in java.util.Arrays.sort with timsort
Easy port of timsort from android

Reviewed-by: martin
2009-07-29 14:24:19 -07:00
Xueming Shen
ba2db6a2db Merge 2009-07-29 11:19:14 -07:00
Doug Lea
d43e798981 6805775: LinkedBlockingQueue Nodes should unlink themselves before becoming garbage
6815766: LinkedBlockingQueue's iterator can return null if drainTo(c) executes concurrently

Faster, more correct. Use self-linking trick to avoid gc retention

Reviewed-by: martin, dholmes
2009-07-28 17:17:55 -07:00
Doug Lea
df5da31f55 6785442: ConcurrentLinkedQueue.remove() and poll() can both remove the same element
6493942: ConcurrentLinkedQueue.remove sometimes very slow

New algorithm for handling concurrent linked lists

Reviewed-by: martin
2009-07-28 13:24:52 -07:00
Xueming Shen
e9b3362ace 5063507: (fmt) missing exception for "%#s" format specifier
Throw appropriate exception when necessary

Reviewed-by: alanb
2009-07-24 11:06:57 -07:00
Xueming Shen
4b33465b42 6707281: Adler32.update() JavaDoc is wrong
6553961: java.util.zip.{CRC32,Adler32}.update(int) doc errors
6646605: Missing method ZipFile.getComment()
6841232: ZipFile should implement Closeable
4985614: Failure on calls to ZipFile constructor
5032358: "java.util.zip.ZipException: The system cannot find the file specified"
6846616: java/util/zip/ZipFile/ReadAfterClose.java failed after fix for 6735255

Some misc bug/rfe fixes for zipfile

Reviewed-by: alanb
2009-06-29 19:57:58 -07:00
Tim Bell
54e8ace85c Merge 2009-06-11 21:32:12 -07:00
Mandy Chung
e2f7248afb 6829636: test/java/util/logging/LoggingDeadlock2.java is flaky
Remove @ignore

Reviewed-by: swamyv
2009-05-26 17:47:57 -07:00