Commit Graph

302 Commits

Author SHA1 Message Date
Jim Gish
48ba63e9e0 7146552: java/util/logging/LoggingMXBeanTest.java failing intermittently
Reviewed-by: alanb, mchung
2012-10-13 10:15:57 +01:00
Naoto Sato
04816adee5 7200341: DateFormatSymbols.hashCode() throws ArrayIndexOutOfBoundsException in some circumstances
Reviewed-by: okutsu
2012-10-09 09:59:05 -07:00
Alan Bateman
18688c3a56 8000354: (props) Properties.storeToXML/loadFromXML need to allow for alternative implementations
Reviewed-by: mchung, forax
2012-10-06 13:56:16 +01:00
Naoto Sato
eeac68872b 7198834: HOST Adapter: one extra empty space in the end of the pattern string
Reviewed-by: okutsu
2012-10-05 09:57:50 -07:00
Naoto Sato
3caba25f6b 7196799: CLDR adapter can not be invoked when region code is specified in Locale
7197573: java/util/Locale/LocaleProviders.sh failed

Reviewed-by: okutsu
2012-10-04 10:04:56 -07:00
Paul Sandoz
25c830b9d5 7197642: (sl) ServiceLoader.load(null) doesn't throw NPE
Reviewed-by: alanb
2012-10-02 10:36:05 +01:00
Yuka Kamiya
5a3a2dc308 7069824: Support for BCP47 locale matching
Reviewed-by: naoto, okutsu
2012-09-28 14:14:26 +09:00
Mike Duigou
1e3c417915 7199249: TEST_BUG : Add /othervm to Collisions.java @run main with -D definitions
Reviewed-by: alanb
2012-09-18 11:04:12 -07:00
Mike Duigou
25570f8d69 7198988: re-order paramaters for Collision.java @run
Reviewed-by: alanb
2012-09-17 11:36:10 -07:00
Mike Duigou
bb1c4324e9 7189926: Reduce test size for default run. Add additional run enabling alternative hashing
Reviewed-by: alanb
2012-09-11 07:42:02 -07:00
Sean Coffey
19e3f0756e 7180362: RFE: Implement date cutover functionality for currency.properties file
Reviewed-by: naoto
2012-09-07 21:22:37 +01:00
Naoto Sato
73ff23b7f7 6336885: RFE: Locale Data Deployment Enhancements
4609153: Provide locale data for Indic locales
5104387: Support for gl_ES locale (galician language)
6337471: desktop/system locale preferences support
7056139: (cal) SPI support for locale-dependent Calendar parameters
7058206: Provide CalendarData SPI for week params and display field value names
7073852: Support multiple scripts for digits and decimal symbols per locale
7079560: [Fmt-Da] Context dependent month names support in SimpleDateFormat
7171324: getAvailableLocales() of locale sensitive services should return the actual availability of locales
7151414: (cal) Support calendar type identification
7168528: LocaleServiceProvider needs to be aware of Locale extensions
7171372: (cal) locale's default Calendar should be created if unknown calendar is specified

JEP 127: Improve Locale Data Packaging and Adopt Unicode CLDR Data (part 1 w/o packaging changes. by Naoto Sato and Masayoshi Okutsu)

Reviewed-by: erikj, sherman, peytoia
2012-08-21 11:00:30 -07:00
Alan Bateman
280b56b270 7192275: Minimize LogManager dependencies on java.beans
Reduce dependency to PropertyChangeListener and PropertyChangeEvent. Also add basic test coverage.

Reviewed-by: dcubed, dsamersoff, mchung
2012-08-19 13:03:00 +01:00
Xueming Shen
ff93896a39 7189363: Regex Pattern compilation buggy for special sequences
Fixed the incorrect implementation in expr(...)

Reviewed-by: psandoz, alanb
2012-08-09 10:15:26 -07:00
Xueming Shen
b5bee4c17e 7188852: Move implementation of De/Inflater.getBytesRead/Writtten() to java from native
Re-implemented getBytesRead/Writtten() at java level

Reviewed-by: andrew, alanb
2012-08-03 13:40:03 -07:00
Kurchi Subhra Hazra
29739d16ee 7160252: (prefs) NodeAddedEvent was not delivered when new node add when new Node
Change native code to convey to Java code whether a new node was added

Reviewed-by: alanb, chegar
2012-07-13 16:02:26 -07:00
Doug Lea
45e1021238 7161229: PriorityBlockingQueue keeps hard reference to last removed element
Reviewed-by: dholmes, forax, alanb
2012-06-27 01:36:28 -04:00
Masayoshi Okutsu
94a6496726 6380549: (rb) ResourceBundle.Control global binding support
Reviewed-by: naoto
2012-06-19 16:21:17 +09:00
Mike Duigou
36dbbfde4b 7175758: Improve unit test of Map iterators and Iterator.remove()
Adds additional tests of Map iterators and Iterator.remove()

Reviewed-by: lancea
2012-06-15 13:01:38 -07:00
Diego Belfer
dd23946ec9 7164256: EnumMap clone doesn't clear the entrySet keeping a reference to the original Map
Reviewed-by: alanb, chegar, forax, mduigou
2012-06-07 12:31:45 +01:00
Mike Duigou
59ccdc0fbc 7173432: Handle null key at HashMap resize
If the key to be inserted into a HashMap is null and the table needs to be resized as part of the insertion then addEntry will try to recalculate the hash of a null key. This will fail with an NPE.

Reviewed-by: darcy
2012-06-01 00:05:21 -07:00
Mike Duigou
705c53b045 7126277: Alternative String hashing implementation
All of the hashing based Map implementations: HashMap, Hashtable, LinkedHashMap, WeakHashMap and ConcurrentHashMap are modified to use an enhanced hashing algorithm for string keys when the capacity of the hash table has ever grown beyond 512 entries. The enhanced hashing implementation uses the murmur3 hashing algorithm along with random hash seeds and index masks. These enhancements mitigate cases where colliding String hash values could result in a performance bottleneck.

Reviewed-by: alanb, forax, dl
2012-05-30 22:18:37 -07:00
Charles Lee
5bcaf4e157 7172177: test/java/util/TimeZone/DstTzTest.java failing on all platforms
Reviewed-by: alanb, okutsu
2012-05-29 09:42:09 +08:00
Deven You
ee1d40055a 7094176: (tz) Incorrect TimeZone display name when DST not applicable / disabled
Reviewed-by: okutsu
2012-05-25 13:28:40 +08:00
Mike Duigou
3b77eb7680 7071826: Avoid benign race condition in initialization of UUID
Avoids mostly benign but sometimes expensive race condition on initialization of UUID.numberGenerator which is used by UUID.randomUUID()

Reviewed-by: alanb, chegar
2012-05-11 11:31:46 -07:00
Kurchi Subhra Hazra
769059e3a3 7165118: (prefs) AbstractPreferences.remove(null) does not throw NPE
Insert null argument check in AbstractPreferences.remove()

Reviewed-by: dholmes, chegar, alanb
2012-05-09 11:14:22 -07:00
Xueming Shen
c8da8f2595 7014640: To add a metachar \R for line ending and character classes for vertical/horizontal ws \v \V \h \H
Added propsoed constructs

Reviewed-by: alanb
2012-05-08 10:57:13 -07:00
David Holmes
828158fb8d 7103570: AtomicIntegerFieldUpdater does not work when SecurityManager is installed
Perform class.getField inside a doPrivileged block

Reviewed-by: chegar, psandoz
2012-05-08 02:59:10 -04:00
Kurchi Subhra Hazra
6d834825de 7160242: (prefs) Preferences.remove(null) does not throw NPE [macosx]
Insert null check of argument in remove()'s implementation

Reviewed-by: forax, chegar, alanb
2012-04-25 12:31:31 -07:00
Xueming Shen
1f4653910f 7067045: replaceAll("\u20ac", "$"); causses java.lang.StringIndexOutOfBoundsExceptio
Updated to throw IAE instead.

Reviewed-by: lancea
2012-04-12 15:01:41 -07:00
Sean Zhou
79f8fba3f9 7121314: Behavior mismatch between AbstractCollection.toArray(T[] ) and its spec
Co-authored-by: Ulf Zibis <ulf.zibis@gmx.de>
Co-authored-by: David Holmes <david.holmes@oracle.com>
Reviewed-by: dholmes, mduigou
2012-04-10 10:17:36 +08:00
Chris Hegarty
60b713fd8d 6963841: java/util/concurrent/Phaser/Basic.java fails intermittently
Reviewed-by: dl, dholmes
2012-04-04 15:14:00 +01:00
Lana Steuck
f931c18437 Merge 2012-03-26 17:31:42 -07:00
Yong Jeffrey Huang
b3e79c6c6c Merge 2012-03-14 23:19:52 -07:00
Yong Jeffrey Huang
97292b3883 7085757: Currency Data: ISO 4217 Amendment 152
Reviewed-by: naoto
2012-03-14 23:07:21 -07:00
Sean Coffey
bfbf85b7a7 7148584: Jar tools fails to generate manifest correctly when boundary condition hit
Reviewed-by: alanb, sherman
2012-03-12 11:30:28 +00:00
David Holmes
7352937e75 7092140: Test: java/util/concurrent/locks/Lock/TimedAcquireLeak.java fails on SE-E due to -XX:-UsePerfData
Add -XX:+UsePerfData to invocation of exec'd JVM

Reviewed-by: alanb, chegar
2012-03-08 00:46:33 -05: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
Sean Coffey
cecb628970 7144488: Infinite recursion for some equals tests in Collections
Reviewed-by: alanb, dholmes, mduigou
2012-02-24 09:17:46 +00:00
Lana Steuck
13686b8d12 Merge 2012-02-09 22:55:28 -08:00
David Katleman
0a228eec58 Merge 2012-02-08 19:13:58 -08:00
Gary Adams
d53f00fb69 6957683: test/java/util/concurrent/ThreadPoolExecutor/Custom.java failing
Reviewed-by: chegar, dholmes, alanb
2012-02-08 11:19:25 +00:00
Gary Adams
ba9ddb94fa 6736316: Timeout value in java/util/concurrent/locks/Lock/FlakyMutex.java is insufficient
Reviewed-by: chegar, dholmes, alanb
2012-02-08 11:18:29 +00:00
Chris Hegarty
5070eb57b6 7105929: java/util/concurrent/FutureTask/BlockingTaskExecutor.java fails on solaris sparc
Reviewed-by: dholmes
2012-02-08 11:16:52 +00:00
Yong Jeffrey Huang
4ea71cf959 7129382: change minor unit of VND to 0
Reviewed-by: naoto
2012-02-06 18:56:36 -08:00
Neil Richards
d51673ed91 7123229: (coll) EnumMap.containsValue(null) returns true
Java.util.EnumMap.NULL equals() must only be true for itself

Reviewed-by: alanb, mduigou
2012-01-10 00:07:13 +00:00
Doug Lea
45569b3a65 7132378: Race in FutureTask if used with explicit set ( not Runnable )
Reviewed-by: chegar, dholmes
2012-01-30 11:44:45 +00:00
Yuka Kamiya
844d8fc641 7017458: (cal) Multithreaded deserialization of Calendar leads to ClassCastException
Reviewed-by: okutsu
2012-01-26 17:06:47 +09:00
Stephen Flores
a8ad56bd5c 6990617: Regular expression doesn't match if unicode character next to a digit
Updated RemoveQEQuotation() to deal with this case correctly

Reviewed-by: sherman
2011-12-19 14:14:14 -08:00
Doug Lea
87062ca29f 7118066: Warnings in java.util.concurrent package
Reviewed-by: chegar, dholmes
2011-12-12 10:45:54 +00:00