Commit Graph

917 Commits

Author SHA1 Message Date
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
Nishit Jain
93f4f6c1b5 7102969: currency.properties supercede not working correctly
8149452: j.t.SimpleDateFormat.getDateFormatSymbols().getZoneStrings() returns incorrect result for some time zones
8157138: Error while fetching currency instance by Currency.getInstance(currencycode)

Reviewed-by: naoto, okutsu, peytoia
2016-05-20 13:48:58 +09:00
Brent Christian
0260528ef9 8029891: Deadlock detected in java/lang/ClassLoader/deadlock/GetResource.java
Properties now stores values in an internal ConcurrentHashMap

Reviewed-by: mchung, dholmes, plevart
2016-05-19 16:25:35 -07:00
Iris Clark
a950576f78 8144062: Move jdk.Version to java.lang.Runtime.Version
Reviewed-by: abuckley, alanb, forax, jjg, mchung, psandoz
2016-05-19 12:04:54 -07:00
Alejandro Murillo
ffaebaa66e Merge 2016-05-17 05:38:15 -07:00
Paul Sandoz
00883c0dc9 8154049: DualPivot sorting calculates incorrect runs for nearly sorted arrays
Reviewed-by: shade
2016-05-16 07:01:26 +02:00
Alejandro Murillo
7a3decd3a2 Merge 2016-05-14 09:11:07 -07:00
Alexandre Iline
e7e64ceea3 8151914: java/util/jar/JarFile/MultiReleaseJar* tests do not declare module dependences
Reviewed-by: chegar
2016-05-10 13:48:07 -07:00
Xueming Shen
b45ea8903e 6328855: String: Matches hangs at short and easy Strings containing \r \n
6192895: java.util.regex.Matcher: Performance issue
6345469: java.util.regex.Matcher utilizes 100% of the CPU
6988218: RegEx matcher loops
6693451: RegEx matcher goes into infinite delay
7006761: Matcher.matches() has infinite loop
8140212: Slow performance of Matcher.find
8151481: j.u.regex.Pattern cleanup
6609854: Regex does not match correctly for negative nested character classes
4916384: CANON_EQ supports only combining character sequences with non-spacing marks
4867170: Pattern doesn't work with composite character in CANON_EQ mode
6995635: CANON_EQ pattern flag is buggy
6728861: ExceptionInInitializerError is caught when the pattern has precomposed character
6736245: A character in Composition Exclusion Table does not match itself
7080302: the normalization in java regex pattern may have flaw

Reviewed-by: rriggs, okutsu, alanb
2016-05-10 21:19:25 -07:00
Vladimir Ivanov
8761e88b55 Merge 2016-05-09 12:39:41 +03:00
Nishit Jain
880dc078b3 8154295: Currency iso code is int and hence looses the preceeding zero
Reviewed-by: naoto, okutsu, peytoia
2016-05-09 17:46:28 +09:00
Stuart Marks
b4192cdebc 8139233: add initial compact immutable collection implementations
Reviewed-by: plevart, forax, dfuchs, chegar, alanb, scolebourne
2016-05-06 11:33:32 -07:00
Vladimir Ivanov
905fb139d7 Merge 2016-05-06 18:21:41 +03:00
Paul Sandoz
3d8d9fe7fa 8155794: Move Objects.checkIndex BiFunction accepting methods to an internal package
Reviewed-by: chegar, shade, forax, vlivanov
2016-05-05 18:14:47 -07:00
Alejandro Murillo
ec7cfcc7c6 Merge 2016-05-05 12:35:54 -07:00
Steve Drach
35e6b00ee0 8151542: URL resources for multi-release jar files have a #runtime fragment appended to them
Reviewed-by: alanb, chegar, psandoz, sherman
2016-05-02 09:03:38 -07:00
Alan Bateman
44790114ee Merge 2016-05-03 11:45:56 +01:00