Doug Lea
edc7565f51
8166059: JSR166TestCase.java fails with NPE in dumpTestThreads on timeout
...
Reviewed-by: martin, chegar, shade
2016-09-23 13:21:23 -07:00
Doug Lea
c9f268cc15
8166057: [testbug] CoreThreadTimeOut still uses hardcoded timeout
...
Reviewed-by: martin, chegar, shade
2016-09-23 13:18:22 -07:00
Doug Lea
9496149e05
8166465: CompletableFuture.minimalCompletionStage().toCompletableFuture() should be non-minimal
...
Reviewed-by: martin, chegar, shade
2016-09-23 13:14:14 -07:00
David Dehaven
953cca3cb6
Merge
2016-09-19 10:11:34 -07:00
Daniel Fuchs
aebe74d3f5
6543126: Level.known can leak memory
...
Custom level instances will now be released when their defining class loader is no longer referenced.
Reviewed-by: plevart, mchung, chegar
2016-09-14 14:04:14 +01:00
David Dehaven
876ddcae54
Merge
2016-09-12 15:26:27 -07:00
Doug Lea
60cd28abd7
8164169: Miscellaneous changes imported from jsr166 CVS 2016-09
...
Reviewed-by: martin, psandoz, shade
2016-09-12 13:14:49 -07:00
Doug Lea
56cff174b6
8139237: java/util/concurrent/ThreadPoolExecutor/ConfigChanges.java fails intermittently
...
Reviewed-by: martin, psandoz, shade
2016-09-12 13:11:38 -07:00
Doug Lea
d7f3695a90
8164983: Improve CountedCompleter code samples; add corresponding tests
...
Reviewed-by: martin, psandoz, shade
2016-09-12 13:07:30 -07:00
Claes Redestad
2ac4d6a7d3
8165723: JarFile::isMultiRelease() method returns false when it should return true
...
Reviewed-by: alanb
2016-09-12 17:45:55 +02:00
Sergei Kovalev
d0474e029b
8165583: Fix module dependencies for jdk/java/util/* tests
...
Reviewed-by: alanb
2016-09-08 09:59:54 -07:00
Stuart Marks
97fa8cd04e
8159404: throw UnsupportedOperationException unconditionally for mutator methods
...
Reviewed-by: martin, psandoz
2016-09-06 16:08:54 -07:00
Ivan Gerasimov
164b17df5b
8165243: Base64.Encoder.wrap(os).write(byte[],int,int) with incorrect arguments should not produce output
...
Reviewed-by: rriggs, alanb, sherman
2016-09-03 13:43:01 +03:00
Li Jiang
44ec255a91
8145952: ISO 4217 amendment 161
...
8164784: ISO 4217 amendment 162
Reviewed-by: naoto
2016-09-01 01:39:21 -07:00
Alexandre Iline
3ff1d554b4
8164982: Fix legal notices in java/lang, java/net, java/util tests
...
Reviewed-by: darcy, iris
2016-08-31 09:46:50 -07:00
Doug Lea
4c999ed180
8163353: NPE in ConcurrentHashMap.removeAll()
...
Reviewed-by: martin, psandoz, redestad, alanb
2016-08-24 12:50:37 -07:00
Steve Drach
3a04923cad
8164585: JarFile::isMultiRelease does not return true in all cases where it should return true
...
Reviewed-by: alanb, psandoz
2016-08-23 11:26:41 -07:00
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
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
Alan Bateman
36e0820801
8154956: Module system implementation refresh (4/2016)
...
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: alanb, mchung, chegar, redestad
2016-05-03 09:09:57 +01:00
Tagir F. Valeev
3ccd7f2289
8153293: Preserve SORTED and DISTINCT characteristics for boxed() and asLongStream() operations
...
Reviewed-by: psandoz
2016-04-29 16:57:57 -07:00
Harold Seigel
528b2cc81a
8155727: java/util/concurrent/locks/Lock/TimedAcquireLeak.java timeouts
...
Fix regex pattern to handle possible (module@version) text
Reviewed-by: ctornqvi, martin
2016-04-29 15:17:46 -04:00
Tagir F. Valeev
6db653621d
8155600: Performance optimization of Arrays.asList().iterator()
...
Reviewed-by: redestad, shade, plevart, attila
2016-04-29 16:52:05 +03:00
Amy Lu
ac4936ef85
8153933: Remove intermittent key from TimeZone/Bug6772689.java and move back to tier1
...
Reviewed-by: darcy
2016-04-22 13:01:41 +08:00
Alan Bateman
611a14587e
8154707: java/util/ServiceLoader/modules/BasicTest.java failing
...
Reviewed-by: chegar
2016-04-20 16:47:12 +01:00
Paul Sandoz
87c6cee72e
8146458: Improve exception reporting for Objects.checkIndex/checkFromToIndex/checkFromIndexSize
...
Reviewed-by: jrose, smarks
2016-04-13 15:05:50 +02:00
Steve Drach
f767b8ce19
8153213: Jar manifest attribute "Multi-Release" accepts any value
...
Reviewed-by: psandoz, redestad
2016-04-12 18:25:10 +02:00
Nishit Jain
91f88bbdca
8150324: java/util/Currency/CurrencyTest.java does not restore default TimeZone
...
Reviewed-by: okutsu, peytoia
2016-04-12 10:15:09 +09:00
Masayoshi Okutsu
aaebc5882b
8153836: java/util/ResourceBundle/Bug6299235Test.sh depends on java.desktop
...
Reviewed-by: alanb
2016-04-11 16:46:52 +09:00
Doug Lea
e52ce5092d
8151344: Improve timeout factor handling in tck/JSR166TestCase
...
Reviewed-by: martin, psandoz
2016-04-07 10:09:03 -07:00
Doug Lea
48ac259af1
8151501: LockSupport/ParkLoops.java: AssertionError: lost unpark
...
Reviewed-by: martin, psandoz, dholmes, forax
2016-04-07 10:06:01 -07:00
Doug Lea
fb58fda736
8152924: Improve scalability of CompletableFuture with large number of dependents
...
Reviewed-by: martin, psandoz
2016-04-07 09:57:08 -07:00
Daniel Fuchs
9c83adecd5
8152436: Add a test to verify that the root logger correctly reports the caller's information
...
This test verifies that 8152389 does no longer occur in JDK 9 and upwards.
Reviewed-by: mchung, lancea
2016-04-06 17:54:41 +02:00
Alan Bateman
4af24b6def
8153370: Drop use of old style -XaddExports from tests
...
Reviewed-by: mchung
2016-04-05 21:18:01 +01:00
Rachna Goel
2b5acd199d
8149735: PropertiesTest.sh fails
...
Updated permissions of "writablejdk".
Reviewed-by: naoto, peytoia
2016-04-05 12:02:54 +05:30
Ivan Gerasimov
763f4898ff
8079136: Accessing a nested sublist leads to StackOverflowError
...
Reviewed-by: psandoz, tvaleev
2016-03-31 17:30:31 +03:00