Commit Graph

109 Commits

Author SHA1 Message Date
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