Commit Graph

302 Commits

Author SHA1 Message Date
Brandon Passanisi
4744f6dd1d 5063455: (fmt) MissingFormatArgumentException.getFormatSpecifier() incorrect return value
Updated the incorrect StringBuilder constructor usage

Reviewed-by: dholmes, sherman
2011-12-05 10:50:14 -08:00
Yuka Kamiya
ed8a1e0c94 7056472: Speed up test/java/util/ResourceBundle/Control/ExpirationTest.sh
Reviewed-by: okutsu
2011-12-02 16:09:14 +09:00
Xueming Shen
8df2ceb118 7109837: Provide a mechanism for computing an Adler32 checksum for the contents of a ByteBuffer
Added methods Adler32/CRC32.update(ByteBuffer)

Reviewed-by: alanb
2011-11-29 13:05:35 -08:00
Xueming Shen
5b3d1ed37b 7110149: Update the JDK8 bundled zlib library to the latest version 1.2.5
Updated to zlib-1.2.5

Reviewed-by: alanb
2011-11-29 11:39:59 -08:00
Neil Richards
c125edce88 7094995: Trailing daemon thread causes continuous GC in agentvm mode
Shutdown GcInducingThread once test (successfully) finishes

Reviewed-by: alanb, chegar, dholmes, darcy
2011-11-18 09:03:43 +00:00
Gary Adams
dbdf12e6a5 7114125: TEST_BUG: java/util/Timer/KillThread.java should use volatile cross thread variable declaration
Reviewed-by: dholmes, alanb
2011-11-21 12:57:36 +00:00
Gary Adams
e0de33a847 6731620: TEST_BUG: java/util/Timer/Args.java is too optimistic about the execution time of System.out.printf
Reviewed-by: dholmes, forax
2011-11-19 19:59:33 +00:00
Gary Adams
673ab99f16 6818464: TEST_BUG: java/util/Timer/KillThread.java failing intermittently
Reviewed-by: dholmes, alanb, forax
2011-11-19 19:55:19 +00:00
Lana Steuck
613e94ca6f Merge 2011-11-14 18:15:37 -08:00
Michael Fang
01d2aff838 Merge 2011-11-03 17:34:41 -07:00
Darryl Mocek
bc99763494 4533691: Add Collections.emptySortedSet()
Reviewed-by: mduigou, alanb, dholmes
2011-11-03 13:26:57 -07:00
Yong Jeffrey Huang
c24783568e 7077119: remove past transition dates from CurrencyData.properties file
Reviewed-by: naoto
2011-10-31 20:14:12 -07:00
Darryl Mocek
8d1c6cf60e 5029031: Add Collections.checkedQueue()
Reviewed-by: mduigou
2011-10-19 14:17:47 -07:00
Naoto Sato
f54e7ec9bc 7027061: Testcase failure: java/util/Locale/Bug6989440.java - java.util.ConcurrentModificationException
Reviewed-by: dholmes, chegar
2011-10-12 12:12:25 -07:00
Doug Lea
2d19ea519b 7091003: ScheduledExecutorService never executes Runnable with corePoolSize of zero
Reviewed-by: dholmes, chegar
2011-09-23 14:24:04 +01:00
Joe Darcy
82e488e3ae 7092404: Add Math.nextDown and Double.isFinite
Reviewed-by: mduigou
2011-09-21 23:22:11 -07:00
Weijun Wang
035522bd7a 7092627: use agentvm mode instead of samevm in regtests
Reviewed-by: alanb, dsamersoff
2011-09-22 12:05:26 +08:00
Lana Steuck
3c59a998c6 Merge 2011-09-05 23:58:19 -07:00
Xueming Shen
2825119dca 7077769: (zipfs) ZipFileSystem.writeCEN() writes wrong "data size" for ZIP64 extended information extra field
Fixed the wrong size when writing out the cen table for ZIP64

Reviewed-by: alanb
2011-08-26 15:36:21 -07:00
Michael Fang
614fdf63b3 Merge 2011-08-17 14:18:26 -07:00
Naoto Sato
9cc89c7e8c 7079486: Locale.getDisplayScript() (no args) does not honor default DISPLAY locale
Reviewed-by: okutsu
2011-08-17 11:09:20 -07:00
Yong Jeffrey Huang
f5cc085a5b 7066203: Update currency data to the latest ISO 4217 standard
Reviewed-by: naoto
2011-08-14 23:46:08 -07:00
Xue-Lei Andrew Fan
2ee0410a0c 7068662: Reserve and restore the default locale
Reviewed-by: alanb, weijun
2011-07-29 02:50:58 -07:00
Doug Lea
517763ddf1 7057320: test/java/util/concurrent/Executors/AutoShutdown.java failing intermittently
Add retry/timeout for checking activeCount

Reviewed-by: chegar
2011-07-13 12:24:56 +01:00
Doug Lea
082623e70e 7058828: test/java/util/concurrent/Phaser/Arrive.java fails intermittently
Reviewed-by: chegar
2011-07-12 15:23:23 +01:00
Yuka Kamiya
f0b57adba4 7012364: test/java/util/Locale/LocaleCategory.sh fails on Cygwin
Reviewed-by: okutsu
2011-07-12 07:32:29 +09:00
Lana Steuck
69ce407621 Merge 2011-06-22 23:23:58 -07:00
Daniel D. Daugherty
a86407a0b2 7045594: 4/4 fix for 6977677 introduced a ResourceBundle race
Fix Logger.getLogger() ResourceBundle name race.

Reviewed-by: dholmes, mchung
2011-06-01 17:11:23 -07:00
Daniel D. Daugherty
0d21eb970f 7048308: 4/4 LoggingDeadlock3 test timeout is too small
Change timeout for test from 15 seconds to 80 seconds.

Reviewed-by: dholmes
2011-06-01 17:10:30 -07:00
David Katleman
170844d307 7044486: open jdk repos have files with incorrect copyright headers, which can end up in src bundles
Reviewed-by: ohair, trims
2011-05-25 13:32:36 -07:00
Daniel D. Daugherty
41491be4d6 7041595: 4/4 add lost test for 6487638
Add missing LoggingDeadlock3.java and LoggingDeadlock3.props

Reviewed-by: dsamersoff, never, acorn, mchung
2011-05-16 12:58:48 -07:00
Daniel D. Daugherty
564b2b7a17 6977677: 3/2 Deadlock on logging subsystem initialization
Over synchronized Logger.getLogger() deadlocks with LogManager.<clinit>via PlatformLogger

Reviewed-by: dsamersoff, never, acorn, mchung
2011-05-16 12:56:29 -07:00
Michael Fang
6df9bf9a41 7044019: LocaleEnhanceTest.java needs to be updated for 7004603
Reviewed-by: naoto
2011-05-11 14:12:50 -07:00
Lana Steuck
abc0e63cbc Merge 2011-04-30 16:55:46 -07:00
Xueming Shen
df7a03a4c3 7039066: j.u.rgex does not match TR18 RL1.4 Simple Word Boundaries and RL1.2 Properties
Updated the regex Unicode property support

Reviewed-by: alanb
2011-04-28 20:48:36 -07:00
Weijun Wang
f32a89adb0 7037201: regression: invalid signed jar file not detected
Reviewed-by: mullan
2011-04-28 20:34:53 +08:00
Lana Steuck
b550ca992e Merge 2011-04-25 15:44:20 -07:00
Lana Steuck
b92cf6375e Merge 2011-04-21 11:11:20 -07:00
Michael Fang
07dada6d04 Merge 2011-04-19 10:55:46 -07:00
Yong Jeffrey Huang
8e70d44f2c 7036905: [de] dem - the german mark display name is incorrect
Reviewed-by: naoto
2011-04-18 23:00:53 -07:00
Lana Steuck
8a0e9f26d9 Merge 2011-04-18 14:00:34 -07:00
Neil Richards
bad4b686c4 7031076: Retained ZipFile InputStreams increase heap demand
Allow unreferenced ZipFile InputStreams to be finalized, GC'd

Reviewed-by: sherman, dholmes
2011-04-18 10:51:19 -07:00
Lana Steuck
b99716e22a Merge 2011-04-17 16:19:29 -07:00
Lana Steuck
fcc61389fc Merge 2011-04-16 20:16:55 -07:00
Masayoshi Okutsu
4e60b6278a 7035446: some regression tests take too long
Reviewed-by: peytoia
2011-04-15 22:57:15 +09:00
Masayoshi Okutsu
899e0913f3 7028818: (lc) Lazily initialize locale extension
7029740: (lc) New Locale class implementation doesn't follow the Java coding conventions
7032820: (lc) sun.util.locale.InternalLocaleBuilder.CaseInsensitiveChar.equals problems
7033503: (lc) Restore optimization code for Locale class initialization
7033504: (lc) incompatible behavior change for ja_JP_JP and th_TH_TH locales

Reviewed-by: naoto
2011-04-14 15:59:47 +09:00
Kelly O'Hair
7c8e01891a Merge 2011-04-13 16:56:16 -07:00
Doug Lea
1693ab3b69 7034657: Update Creative Commons license URL in legal notices
Reviewed-by: chegar
2011-04-07 15:06:32 +01:00
Kelly O'Hair
d2b1e20c7d 7033660: Update copyright year to 2011 on any files changed in 2011
Reviewed-by: dholmes
2011-04-06 22:06:11 -07:00
Naoto Sato
81221f1be0 7031546: test/java/util/ResourceBundle/Bug4168625Test.java fails on solaris10u9 sparc
Reviewed-by: okutsu
2011-04-06 10:53:13 -07:00
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