933 Commits

Author SHA1 Message Date
Rachna Goel
b19bd0a798 8135055: java.util.Date.after(java.sql.Timestamp ) does not return correct results
Reviewed-by: okutsu
2016-08-22 15:17:11 +09:00
Yuka Kamiya
86bb2f51cd 7094818: closed/java/text/Format/DateFormat tests failed on Hindi
8132861: java/text/Format/DateFormat/Bug4845901.java failed in Thai locale
8134733: java/util/Calendar/CalendarRegression.java failed in ar locale

Reviewed-by: okutsu
2016-08-22 14:24:46 +09:00
Doug Lea
c5e580763c 8162627: Miscellaneous changes imported from jsr166 CVS 2016-08
Reviewed-by: martin, psandoz
2016-08-15 09:16:31 -07:00
Doug Lea
33762a65b8 8151158: [TESTBUG] java/util/concurrent/forkjoin/FJExceptionTableLeak.java fails due to out of memory
8144836: [TESTBUG] FJExceptionTableLeak and RemoveLeak fail with -XX:+UseParallelGC -XX:+AggressiveOpts

Reviewed-by: martin, psandoz, amlu, darcy
2016-08-15 09:13:22 -07:00
Doug Lea
0f24b72e4e 8163210: java/util/concurrent/tck/JSR166TestCase.java testWriteAfterReadLock(StampedLockTest): timed out waiting for thread to terminate
Reviewed-by: martin, psandoz, dholmes
2016-08-15 09:09:00 -07:00
Doug Lea
cdae608a00 8162805: Optimize AtomicBoolean.getAndSet
Reviewed-by: martin, psandoz, shade
2016-08-15 09:04:40 -07:00
Mandy Chung
e2a0ff3e0d 8136930: Simplify use of module-system options by custom launchers
Reviewed-by: alanb, ksrini, henryjen, sundar
2016-08-10 15:51:25 -07:00
Nishit Jain
55be447abd 8035133: Locale matching: Weight q=0 isn't handled correctly
Reviewed-by: okutsu, peytoia
2016-08-03 09:37:57 +09:00
Rachna Goel
0eb7344760 8066652: Default TimeZone is GMT not local if user.timezone is invalid on Mac OS
Reviewed-by: okutsu
2016-08-01 15:55:54 +09:00
Martin Buchholz
da7a66e347 8160605: java/util/SplittableRandom/SplittableRandomTest.java failed with timeout
Reviewed-by: psandoz, darcy
2016-07-27 10:34:10 -07:00
Ramanand Patil
20477f85e7 8159684: (tz) Support tzdata2016f
Reviewed-by: okutsu
2016-07-26 13:48:29 +05:30
Doug Lea
55ee90a475 8161591: Miscellaneous changes imported from jsr166 CVS 2016-07
Reviewed-by: martin, psandoz, plevart
2016-07-26 10:06:19 -07:00
Doug Lea
2545e51a0c 8161608: StampedLock should use storeStoreFence when acquiring write lock
Reviewed-by: martin, psandoz, plevart
2016-07-26 10:02:05 -07:00
Doug Lea
825edd9274 8160751: Optimize ConcurrentHashMap.keySet().removeAll
8161372: ConcurrentHashMap.computeIfAbsent(k,f) locks bin when k present

Reviewed-by: martin, psandoz, plevart
2016-07-26 09:57:51 -07:00
Doug Lea
6db3f79f39 8160402: Garbage retention with CompletableFuture.anyOf
Reviewed-by: martin, psandoz, plevart
2016-07-26 09:53:38 -07:00
Xueming Shen
e944d9f280 8161942: java.util.zip.ZipEntry.java not covering UpperLimit range of DOS epoch
Reviewed-by: redestad
2016-07-22 16:32:48 -07:00
Steve Drach
fe8757403b 8157524: Revert JarFile methods "entries" and "stream" to Java 8 behavior
Reviewed-by: alanb, psandoz, redestad
2016-07-19 10:05:22 -07:00
Xueming Shen
330910bae2 8155616: java/util/zip/TestLocalTime.java fails intermittently with storing mtime failed
Reviewed-by: rriggs
2016-07-19 09:31:59 -07:00
Amy Lu
ddbb299280 8161567: Mark java/util/concurrent/forkjoin/FJExceptionTableLeak.java as intermittently failing
Reviewed-by: martin, darcy
2016-07-19 09:37:28 +08:00
Doug Lea
14d4754bdd 8080603: Replace Unsafe with VarHandle in java.util.concurrent classes
8153715: Use Unsafe.weakCompareAndSet in java.util.concurrent

Reviewed-by: martin, psandoz, rriggs, plevart, dfuchs, shade
2016-07-15 14:04:09 -07:00
Doug Lea
a09ddefd05 8157522: Performance improvements to CompletableFuture
Reviewed-by: martin, psandoz, rriggs, plevart, dfuchs
2016-07-15 13:59:58 -07:00
Doug Lea
aa81d50820 8159924: Various improvements to StampedLock code
Reviewed-by: martin, psandoz, rriggs, plevart, dfuchs
2016-07-15 13:51:43 -07:00
Xueming Shen
ac12555ea3 8161426: Test java/util/zip/InflaterInputStream/TestAvailable.java fails on open-only linux
Reviewed-by: bpb
2016-07-14 16:04:38 -07:00
Steve Drach
0062a02e07 8150680: JarFile.Release enum needs reconsideration with respect to it's values
Reviewed-by: alanb, psandoz
2016-07-13 11:43:45 -07:00
Rachna Goel
4e8a2de21a 8154797: Localization data for "GMT"
Reviewed-by: naoto, okutsu
2016-07-14 10:30:23 +09:00
Xueming Shen
47c84f9fe6 7031075: GZIPInputStream's available() reports 1, but read() gives -1
Reviewed-by: bpb
2016-07-13 16:37:24 -07:00
Daniel Fuchs
d5e84de014 8159245: Loggers created by system classes are not initialized correctly when configured programmatically from application code
Loggers of the same name now share the same configuration.

Reviewed-by: mchung, mli
2016-07-12 11:29:01 +01:00
Hiroshi Ito
c5ef4d69b9 8158365: List.spliterator should optimize for RandomAccess lists
Reviewed-by: psandoz
2016-05-23 23:12:05 +08:00
Daniel Fuchs
1aceedb6a9 8056285: java/util/logging/CheckLockLocationTest.java java.lang.RuntimeException: Test failed: should have been able to create FileHandler for %t/writable-dir/log.log in writable directory
Added some instrumentation to the test to help a better diagnosis

Reviewed-by: mchung
2016-07-11 11:32:40 +01:00
Xueming Shen
c19f3e0db2 6233323: ZipEntry.isDirectory() may return false incorrectly
8144977: Class.getResourceAsStream("directory") in JAR returns broken InputStream

Reviewed-by: rriggs
2016-06-28 15:36:15 -07:00
Ramanand Patil
78f385b79a 8153955: increase java.util.logging.FileHandler MAX_LOCKS limit
This patch adds a new configurable property "java.util.logging.FileHandler.maxLocks" to java.util.logging.FileHandler which can be defined in the logging configuration file and makes it possible to configure the maximum number of concurrent log file locks a FileHandler can handle. If not overridden, the default value of maxLocks (100) remains unchanged.

Reviewed-by: dfuchs, coffeys
2016-06-27 11:52:49 +05:30
Xueming Shen
e922fb0afb 8159545: closed/java/io/Console/TestConsole.java failed with exit code 1
Reviewed-by: rriggs
2016-06-22 11:31:07 -07:00
Naoto Sato
e18eaa2e9b 8159548: Formatter returns unexpected strings if locale is null
Reviewed-by: sherman
2016-06-21 15:15:05 -07:00
Nishit Jain
868cd939e6 8159420: The LanguageRange.parse() method is throwing IllegalArgumentException in Turkish Locale
Reviewed-by: naoto, okutsu, peytoia
2016-06-17 21:42:38 +09:00
Doug Lea
559140e18e 8066070: PriorityQueue corrupted when adding non-Comparable
Reviewed-by: martin, chegar
2016-06-01 19:03:15 -07:00
Xueming Shen
5aad7937b7 8139414: java.util.Scanner hasNext() returns true, next() throws NoSuchElementException
8072582: Scanner delimits incorrectly when delimiter spans a buffer boundary

Reviewed-by: smarks
2016-06-14 16:56:27 -07:00
Nishit Jain
3db5ac3931 8135061: java.util.Locale#lookup throws java.lang.StringIndexOutOfBoundsException for range having '-' as second character
Reviewed-by: okutsu, peytoia
2016-06-14 12:29:49 +09:00
Daniel Fuchs
4c69f47805 8153666: Optimize Formatter.formatMessage
This patch brings a small optimization that removes needless synchronization in Formatter.formatMessage. It also fixes the code that decides whether to call MessageFormat, and brings a small clarification to the API documentation on the conditions when that will happen.

Reviewed-by: rriggs, martin
2016-06-13 08:20:34 +01:00
Nishit Jain
acac4bb550 8040211: Update LSR datafile for BCP 47
Reviewed-by: okutsu, peytoia
2016-06-10 20:25:51 +09:00
Naoto Sato
ffd210aefb 8146156: Inconsistent default locale in string formatter methods
Reviewed-by: sherman
2016-06-06 10:52:21 -07:00
Mandy Chung
10a92943ae 8158604: test/java/util/ResourceBundle/modules/appbasic missing @test
Reviewed-by: alanb, okutsu
2016-06-03 12:26:45 -07:00
Xueming Shen
98e2f679cf 8158482: regex UNICODE_CHARACTER_CLASS flag cannot be disabled with an embedded flag expression
Reviewed-by: bpb
2016-06-02 14:03:50 -07:00
Ramanand Patil
78bb28e4af 8151876: (tz) Support tzdata2016d
Reviewed-by: okutsu, coffeys
2016-06-01 14:33:44 +01:00
Rachna Goel
48873ebc3f 8145136: Upgrade CLDR locale data
Reviewed-by: naoto, okutsu, peytoia
2016-05-31 13:00:48 +09:00
Masayoshi Okutsu
212d6de09b 8039565: Remove test exclusion for java/util/ResourceBundle/RestrictedBundleTest.java
Reviewed-by: peytoia
2016-05-30 14:58:59 +09:00
Masayoshi Okutsu
8cb25f3af9 8031145: Re-examine closed i18n tests to see it they can be moved to the jdk repository
Reviewed-by: alanb, peytoia, naoto
2016-05-27 14:33:48 +09:00
Daniel Fuchs
c3435ed005 8146389: java/util/logging/XMLFormatterDate.java fails during year switch
Updates the test to match the changes in the XML content that were brought by JDK-8072645.

Reviewed-by: joehw
2016-05-26 19:55:00 +02:00
Doug Lea
27a77176a6 8153768: Miscellaneous changes imported from jsr166 CVS 2016-05
Reviewed-by: martin, psandoz, chegar, shade
2016-05-24 10:14:41 -07:00
Alan Bateman
ce04e9d9a2 8152650: ModuleFinder.compose should accept varargs
Reviewed-by: mchung
2016-05-21 08:01:03 +01:00
Xueming Shen
5330dbf8e4 8143282: \p{Cn} unassigned code points should be included in \p{C}
To add unassigned cp support into \p{C}

Reviewed-by: martin
2016-05-20 12:47:41 -07:00