Brian Goetz
95fadac5c6
8010096: Initial java.util.Spliterator putback
...
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Co-authored-by: Doug Lea <dl@cs.oswego.edu>
Reviewed-by: mduigou, alanb, chegar, darcy
2013-04-16 13:51:53 -04:00
Yong Jeffrey Huang
fc3e45929e
8011977: ISO 4217 Amendment Number 155
...
Reviewed-by: naoto
2013-04-16 22:28:47 -07:00
Mike Duigou
12cfd3e1b4
8004518: Add in-place operations to Map
...
8010122: Add defaults for ConcurrentMap operations to Map
Co-authored-by: Doug Lea <dl@cs.oswego.edu>
Co-authored-by: Henry Jen <henry.jen@oracle.com>
Co-authored-by: Akhil Arora <akhil.arora@oracle.com>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: darcy, briangoetz, mduigou, dholmes, ulfzibis
2013-04-16 11:17:19 -07:00
Chris Hegarty
0a5657be1c
8012237: CompletableFuture/Basic.java still fails intermittently
...
Reviewed-by: martin
2013-04-16 12:51:22 +01:00
Chris Hegarty
23d10238b1
8012343: Objects.requireNonNull(Object,Supplier) breaks genstubs build
...
Reviewed-by: alanb
2013-04-16 12:23:16 +01:00
Joe Darcy
dbb722dfb0
8011800: Add java.util.Objects.requireNonNull(T, Supplier<String>)
...
Reviewed-by: alanb, dholmes, mduigou
2013-04-15 18:31:48 -07:00
Chris Hegarty
7d3f26a18f
8011799: CompletableFuture/Basic.java fails intermittently
...
Reviewed-by: martin, alanb
2013-04-14 19:17:30 +01:00
David Katleman
930dcf7d28
8012048: JDK8 b85 source with GPL header errors
...
Reviewed-by: iris, mduigou, jjg
2013-04-12 15:22:33 -07:00
Henry Jen
3273287f58
8010279: java.util.Stream.min/max((Comparator)null) is not consistent in throwing (unspecified) NPE
...
Reviewed-by: alanb, mduigou
2013-04-12 12:41:18 -07:00
Mike Duigou
8b4ed5f8cc
8011200: (coll) Optimize empty HashMap and ArrayList
...
Co-authored-by: Sergey Linetskiy <sergey.linetskiy@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: mduigou, alanb, bchristi, martin
2013-04-10 12:43:18 -07:00
Stephen Colebourne
58af157d96
8011172: JSR 310 DateTime API Updates II
...
Integration of JSR310 Date/Time API update
Co-authored-by: Roger Riggs <roger.riggs@oracle.com>
Co-authored-by: Masayoshi Okutsu <masayoshi.okutsu@oracle.com>
Reviewed-by: alanb, naoto, dholmes
2013-04-12 07:57:35 -07:00
Chris Hegarty
dc6fd2d5dd
8005696: Add CompletableFuture
...
Reviewed-by: chegar, martin
2013-04-09 17:27:47 +01:00
Xueming Shen
3457ff4337
8007379: Base64.getMimeDecoder().decode() throws IAE for a non-base64 character after padding
...
8008925: Base64.getMimeDecoder().decode() does not ignore padding chars
Updated implementation and spec for corner cases.
Reviewed-by: alanb
2013-04-02 10:12:20 -07:00
Mike Duigou
7d45058eaa
8011199: Backout changeset JDK-7143928 (2b34a1eb3153)
...
Reviewed-by: darcy, dholmes
2013-04-01 20:51:40 -07:00
Mike Duigou
3e6daeda3a
7143928: Optimize empty HashMap and ArrayList
...
Co-authored-by: Sergey Linetskiy <sergey.linetskiy@oracle.com>
Co-authored-by: John Rose <john.rose@oracle.com>
Reviewed-by: mduigou
2013-04-01 20:15:48 -07:00
Martin Buchholz
2a57075d85
8007905: To add a system property to create zip file without using ZIP64 end table when entry count > 64k
...
Provide a system property to inhibit ZIP64 mode for >64k entries
Reviewed-by: alanb, sherman
2013-03-26 13:34:54 -07:00
Mandy Chung
c9e6a41b99
8006104: Improve tests to test ".useParentHandlers" property set in the logging configuration
...
Reviewed-by: alanb
2013-03-20 09:50:07 -07:00
Brian Goetz
5b1cca1b96
8001642: Add Optional<T>, OptionalDouble, OptionalInt, OptionalLong
...
Reviewed-by: mduigou, darcy, alanb, jjb
2013-03-19 16:05:34 -07:00
Lana Steuck
4f62a2b334
Merge
2013-03-15 23:31:19 -07:00
Jim Gish
709f67b8f9
8002070: Remove the stack search for a resource bundle for Logger to use
...
The fragile, vulnerable, stack crawling has been eliminated from findResourceBundle(String)
Reviewed-by: mchung, alanb
2013-03-13 11:24:48 -04:00
Lana Steuck
31330fc47a
Merge
2013-03-12 19:04:49 -07:00
Henry Jen
9db6479318
8001667: Comparator combinators and extension methods
...
Reviewed-by: mduigou, briangoetz
2013-03-08 15:45:06 -08:00
Naoto Sato
16bd2e1298
8004240: Return value from getAdapterPrefence() can be modified
...
Reviewed-by: okutsu
2013-03-04 20:46:42 -08:00
Chris Hegarty
3a216a7fdc
8008378: FJP.commonPool support parallelism 0, add awaitQuiescence
...
Co-authored-by: Doug Lea <dl@cs.oswego.edu>
Reviewed-by: chegar
2013-03-02 08:54:37 +00:00
Mike Duigou
5262142601
8008785: IdentityHashMap.values().toArray(V[]) broken by JDK-8008167
...
Reviewed-by: alanb
2013-02-27 11:00:20 -08:00
Edvard Wendelin
2f5be3ab0d
Merge
2013-02-25 08:44:00 +01:00
Lana Steuck
835c35dc91
Merge
2013-02-21 17:43:57 -08:00
Edvard Wendelin
cbfc80d987
Merge
2013-02-19 21:48:01 +01:00
David Holmes
390cc1d7a1
Merge
2013-02-17 16:44:19 -05:00
Xueming Shen
a433a8918d
8008254: j.u.Calendar.JavatimeTest failed at TL b78 pit testing
...
To use j.t.ZoneId zone name to keep round-trip
Reviewed-by: okutsu
2013-02-15 01:17:31 +00:00
Xueming Shen
9e918d6fbc
4759491: method ZipEntry.setTime(long) works incorrectly
...
6303183: Support NTFS and Unix-style timestamps for entries in Zip files
7012856: (zipfs) Newly created entry in zip file system should set all file times non-null values
7012868: (zipfs) file times of entry in zipfs should always be the same regardless of TimeZone
To add suuport of Info-ZIP extended timestamp in extra data fields
Reviewed-by: martin, alanb
2013-05-29 19:50:47 -07:00
Doug Lea
7eb923313a
8014076: Arrays parallel and serial sorting improvements
...
Reviewed-by: chegar, mduigou
2013-05-23 18:34:15 +01:00
Stephen Colebourne
73c043f49e
8007392: JSR 310: DateTime API Updates
...
8007520: Update date/time classes in j.util and j.sql packages
8007572: Replace existing jdk timezone data at <java.home>/lib/zi with JSR310's tzdb
Integration of JSR310 Date/Time API for M7
Co-authored-by: Roger Riggs <roger.riggs@oracle.com>
Co-authored-by: Masayoshi Okutsu <masayoshi.okutsu@oracle.com>
Co-authored-by: Patrick Zhang <patrick.zhang@oracle.com>
Reviewed-by: darcy, alanb, naoto
2013-02-12 09:25:43 -08:00
Doug Lea
724f325f44
8005697: Add StampedLock
...
Reviewed-by: chegar, alanb, dice, martin
2013-02-09 08:35:57 +00:00
Naoto Sato
ea5819f8d3
8007038: ArrayIndexOutOfBoundsException on calling localizedDateTime().print() with JapaneseChrono
...
Reviewed-by: okutsu
2013-02-08 09:35:14 -08:00
Edvard Wendelin
11036fb4d5
Merge
2013-02-05 15:35:35 +01:00
David Holmes
eb1726c151
Merge
2013-02-04 18:08:50 -05:00
Xueming Shen
db8ced219f
8006295: Base64.Decoder.wrap(java.io.InputStream) returns InputStream which throws unspecified IOException on attempt to decode invalid Base64 byte stream
...
8006315: Base64.Decoder decoding methods are not consistent in treating non-padded data
8006530: Base64.getMimeDecoder().decode() throws exception for non-base64 character after adding =
Updated the spec to describe the expected behave explicitly and the implementation to follow
Reviewed-by: alanb, chegar, lancea
2013-02-04 11:58:43 -08:00
Brian Burkhalter
f7f0768c22
6355704: (fmt) %f formatting of BigDecimals is incorrect
...
Reviewed-by: darcy
2013-01-31 14:29:19 -08:00
Xueming Shen
320ce960ce
8007298: Base64.getMimeDecoder().decode() throws IAE for a single non-base64 character
...
8006526: Base64.Decoder.decode(String) spec contains a copy-paste mistake
To ignore single non-base64 char in mime decoding
Reviewed-by: alanb
2013-01-31 13:13:14 -08:00
Xueming Shen
907f0724ce
8005394: Base64.Decoder/Encoder.wrap(XStream) don't throw NPE for null args passed
...
To check null for dec/enc.wrap methods
Reviewed-by: alanb
2013-01-31 11:09:36 -08:00
David Buck
b3fa7187ae
7042126: (alt-rt) HashMap.clone implementation should be re-examined
...
Test case for cr7042126. Issue only found in OracleJDK, but test case is valid for OpenJDK as well
Reviewed-by: mduigou
2013-01-31 10:55:15 -08:00
Henry Jen
293df92991
8005632: Extend java.util.Logger to use Supplier<String> for messages
...
Reviewed-by: briangoetz, mduigou
2013-01-25 16:13:32 -08:00
Xueming Shen
c3343fdb49
8006773: test/java/util/zip/ZipFile/FinalizeZipFile.java failing intermittently
...
Fixed the test case
Reviewed-by: alanb
2013-01-23 10:29:50 -08:00
Alan Bateman
3ca765dfbd
8004931: add/removePropertyChangeListener should not exist in subset Profiles of Java SE
...
Reviewed-by: dholmes, mchung, ksrini
2013-01-21 23:23:12 -05:00
Doug Lea
3f14786363
8005311: Add Scalable Updatable Variables, DoubleAccumulator, DoubleAdder, LongAccumulator, LongAdder
...
Reviewed-by: chegar, darcy, goetz
2013-01-21 13:50:05 +00:00
Masayoshi Okutsu
6bc0d6d200
8004489: Add support for Minguo and Hijrah calendars to CalendarNameProvider SPI
...
8006509: Add more calendar symbol names from CLDR
Reviewed-by: peytoia
2013-01-21 15:41:30 +09:00
Masayoshi Okutsu
f9d0dd3d72
4745761: (cal) RFE: Support builder for constructing Calendar
...
Reviewed-by: peytoia
2013-01-21 12:04:55 +09:00
Naoto Sato
9fa2377054
7162007: Clean up i18n related caches
...
Reviewed-by: okutsu, ohair
2013-01-14 11:09:53 -08:00
Alan Bateman
c12b624078
8005978: shell tests need to use the $COMPILEJDK for javac, jar and other tools
...
Reviewed-by: chegar
2013-01-11 20:19:55 +00:00
Mandy Chung
3243aaf47a
8005615: Java Logger fails to load tomcat logger implementation (JULI)
...
Reviewed-by: alanb, ahgross
2013-01-10 19:43:36 -08:00
Brent Christian
f7eb6cd556
8005962: TEST_BUG: java/util/Properties/MacJNUEncoding can fail in certain environments
...
Test script now sets LC_ALL, other small changes, relocate test
Reviewed-by: naoto, alanb
2013-01-10 10:21:44 -08:00
Brent Christian
b21bc8e16d
8003228: (props) sun.jnu.encoding should be set to UTF-8 [macosx]
...
Hard-code sun.jnu.encoding to UTF-8 on Mac
Reviewed-by: naoto
2013-01-07 13:19:03 -08:00
Lana Steuck
b7af263526
Merge
2012-12-28 18:36:41 -08:00
Masayoshi Okutsu
12ae00bd7d
8005471: DateFormat: Time zone info is not localized when adapter is CLDR
...
Reviewed-by: peytoia
2012-12-28 14:13:10 +09:00
Chris Hegarty
d2bce7f267
8003981: Support Parallel Array Sorting - JEP 103
...
Co-authored-by: David Holmes <david.holmes@oracle.com>
Co-authored-by: Doug Lea <dl@cs.oswego.edu>
Reviewed-by: chegar, forax, dholmes, dl
2012-12-27 21:55:24 +00:00
Yong Jeffrey Huang
2185318b56
Merge
2012-12-23 19:11:15 -08:00
Joe Wang
7dd77a4b62
8005280: (props) Improve test coverage for small XML parser
...
Added a few more invalid XML files, international characters to LoadAndStore test, and a behavior compatibility test.
Reviewed-by: alanb, lancea
2012-12-21 17:29:23 -08:00
Yong Jeffrey Huang
06be28ce8d
7195759: ISO 4217 Amendment 154
...
Reviewed-by: naoto
2012-12-20 18:53:46 -08:00
David Katleman
306cab1006
8004982: JDK8 source with GPL header errors
...
Reviewed-by: ohair
2012-12-20 16:24:50 -08:00
Alan Bateman
50185a4371
8005281: (props) loadFromXML/storeToXML with small parser is not thread safe
...
Reviewed-by: mchung
2012-12-20 20:40:04 +00:00
Alan Bateman
4ce906db2b
8005248: (props) Integrate small footprint parser into Properties
...
Reviewed-by: joehw, mchung, psandoz, erikj
2012-12-19 14:53:33 +00:00
Chris Hegarty
00802749ea
8005081: java/util/prefs/PrefsSpi.sh fails on macos-x
...
Reviewed-by: alanb
2012-12-17 16:27:05 +00:00
Alexey Utkin
c5c34df7bf
8004928: TEST_BUG: Reduce dependence of CoreLib tests from the AWT subsystem
...
The tests were refactored to drop AWT dependence where it was possible.
Reviewed-by: alanb, mchung
2012-12-17 14:34:37 +04:00
Mark Sheppard
c9063f559f
8003890: corelibs test scripts should pass TESTVMOPTS
...
Reviewed-by: chegar, alanb
2012-12-13 14:47:35 +00:00
Jim Gish
3e23931d0c
8004651: TEST: java/util/logging/CheckLockLocationTest.java failed to delete file (win)
...
Failure to delete test log file should be a warning instead of test failure
Reviewed-by: mduigou, smarks
2012-12-12 15:37:27 -08:00
Masayoshi Okutsu
78a8ed73a2
8000983: Support narrow display names for calendar fields
...
8003267: Support generic time zone names in TimeZoneNameProvider (SPI)
Reviewed-by: naoto
2012-12-10 10:52:11 +09:00
Jim Gish
f436d23492
8003596: TEST_BUG: java/util/logging/CheckLockLocationTest.java failing [win]
...
Reviewed-by: alanb
2012-12-04 20:21:19 +00:00
Alan Bateman
d2d5213b87
8003846: Override mechanism for currency data should not require creating currency.properties in java.home
...
Reviewed-by: naoto
2012-12-02 16:37:31 +00:00
Xueming Shen
e78a1eb083
8004212: java.util.Base64 methods decodeArray and decodeBuffer should return the number of bytes written
...
To return the length instead of position
Reviewed-by: alanb
2012-12-01 11:36:25 -08:00
Kurchi Subhra Hazra
d7cae9afff
7197662: (prefs) java/util/prefs/AddNodeChangeListener.java fails by timeout or by "couldn't get file lock"
...
Set -Djava.util.prefs.userRoot to current working directory of user in the prefs tests
Reviewed-by: alanb, chegar, weijun, dxu
2012-11-30 12:00:07 -08:00
Staffan Larsen
c1126e3727
7155168: java/util/TimeZone/Bug6912560.java: expected Asia/Tokyo
...
Reviewed-by: okutsu
2012-11-30 08:17:02 +01:00
Jim Gish
7aed72aa11
8003380: Compiler warnings in logging test code
...
Use generics, suppress warnings where appropriate, remove unused imports, etc.
Reviewed-by: lancea, chegar
2012-11-29 12:28:02 +00:00
Xueming Shen
ff1d49bc5b
8004088: hg push for bug#4235519 failed to push all files
...
Pushed all base64 files
Reviewed-by: alanb, mduigou
2012-11-27 22:07:11 -08:00
David Buck
df3c665be3
7198904: (alt-rt) TreeMap.clone is broken
...
Test case for cr7198904. Issue only found in OracleJDK, but test case is valid for OpenJDK as well
Reviewed-by: mduigou, dholmes
2012-11-20 21:35:18 -08:00
Naoto Sato
6c62e2d0f1
7199750: Loading sequence of service provider is changed
...
Reviewed-by: okutsu
2012-11-15 20:17:05 -08:00
Jim Gish
f439018255
6244047: impossible to specify directories to logging FileHandler unless they exist
...
Reviewed-by: alanb
2012-11-15 13:46:45 +00:00
Masayoshi Okutsu
aaa52056e9
8000986: Split java.util.spi.CalendarDataProvider into week parameters and field names portions
...
Reviewed-by: naoto
2012-11-12 11:12:29 +09:00
Naoto Sato
bb434e94b4
8001205: Calendar.getDisplayName(...): Returns null when provider is SPI but there is no SPI implementation
...
8001562: Collator.getAvailableLocales() doesn't return all locales for which localized instances are available
Reviewed-by: okutsu
2012-11-07 15:08:28 -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
Naoto Sato
799007c62d
8001440: CLDR adapter: Invalid number extension in language tag causes exception in NumberFormat.format()
...
Reviewed-by: okutsu
2012-11-01 13:28:47 -07:00
Naoto Sato
1203231cf9
8000997: Multiple locale sensitive services cannot be loaded
...
Reviewed-by: okutsu
2012-10-29 10:42:41 -07:00
Jim Gish
07f94ef8bc
7159567: inconsistent configuration of MemoryHandler
...
Reviewed-by: mchung, alanb
2012-10-25 15:04:09 -07:00
Naoto Sato
1fb9910146
8001046: java/util/PluggableLocale/LocaleNameProviderTest.sh failing
...
Reviewed-by: okutsu
2012-10-17 13:22:39 -07:00
Paul Sandoz
9498132479
7198496: (sl) ServiceLoader.load(Class, null) behavior differs from spec
...
Reviewed-by: dholmes, alanb
2012-10-17 20:34:04 +01:00
Neil Richards
a76d98e716
8000955: Hashtable.Entry.hashCode() does not conform to Map.Entry.hashCode() defined behaviour
...
Reviewed-by: mduigou, alanb
2012-10-17 13:35:22 +01:00
Alan Bateman
ed656de70f
8000685: (props) Properties.storeToXML/loadFromXML should only require UTF-8 and UTF-16 to be supported
...
Reviewed-by: mchung, chegar
2012-10-17 11:43:56 +01:00
Kurchi Subhra Hazra
56e63d98b9
7198073: (prefs) user prefs not saved [macosx]
...
Using class member field to get node instead of argument
Reviewed-by: alanb
2012-10-16 15:23:17 -07:00
Naoto Sato
2647f75cdd
8000245: SimpleDateFormat.format(date, StringBuffer, FieldPosition) doesn't work as expected with custom extensions
...
8000273: java.util.Locale.getDisplayVariant(Locale l) isn't transferred to the custom service provider
8000615: JRE adapter: timezone name of en_US is changed when extension directory is added
Reviewed-by: okutsu
2012-10-16 10:59:21 -07:00
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
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