David Dehaven
83802373ee
Merge
2016-01-12 13:13:16 -08:00
Alexander Stepanov
73fb68a80d
8138838: docs cleanup for java.desktop
...
Docs cleanup for java.desktop
Reviewed-by: serb
2016-01-11 17:51:54 +03:00
Naoto Sato
3f8548453c
8039301: [ja] Host Locale Provider uses non-translated Calendar field names
...
8039969: Old Korean Calendar conflicts with Host Locale
8049835: [ar/HOST adapter] Hijri calendar era is used but date number follows gregorian
8054010: [HOST provider, not gregory] Return NULL when calling Calendar.getDisplayNames for Calendar.ERA
8054482: [HOST provider] only return standalone-style month display name
8055258: [HOST provider] Short era display name is not returned
Reviewed-by: okutsu
2016-01-05 10:15:54 -08:00
Xueming Shen
9b77da0f46
8146431: j.u.z.ZipFile.getEntry("") throws AIOOBE
...
Reviewed-by: lancea
2016-01-04 14:34:53 -08:00
Chris Hegarty
7e4d56677d
8145990: Move sun.misc math support classes to jdk.internal.math
...
Reviewed-by: bpb, darcy
2015-12-22 12:17:25 +00:00
Paul Sandoz
5d45834ee3
8145006: Collections.asLifoQueue(null) doesn't throw NPE as specified
...
Reviewed-by: smarks
2015-12-18 09:59:25 +01:00
Xueming Shen
2b91819eec
8145260: To bring j.u.z.ZipFile's native implementation to Java to remove the expensive jni cost and mmap crash risk [2]
...
Reviewed-by: coffeys
2015-12-14 09:27:15 -08:00
Shinya Yoshida
38302301fd
8144675: Add a filtering collector
...
Reviewed-by: psandoz, smarks
2015-12-13 15:20:35 +01:00
Tagir Valeev
2a1775f3b1
8145007: Pattern splitAsStream is not late binding as required by the specification
...
Reviewed-by: chegar, psandoz
2015-12-13 15:10:13 +01:00
Stuart Marks
82c454ff4a
8144952: add wildcards to the Map.ofEntries() method
...
Reviewed-by: darcy, psandoz, chegar
2015-12-11 17:01:01 -08:00
Stuart Marks
d42e70fc3c
8139232: JEP-269 initial API and skeleton implementations
...
Reviewed-by: psandoz, rriggs
2015-12-08 13:48:22 -08:00
Xueming Shen
b0e22f9603
8144958: changes by JDK-8142508 seems to have broken jtreg
...
Reviewed-by: darcy
2015-12-08 16:43:58 -08:00
Xueming Shen
44a8a73eb6
8142508: To bring j.u.z.ZipFile's native implementation to Java to remove the expensive jni cost and mmap crash risk
...
Reviewed-by: coffeys
2015-12-08 09:25:01 -08:00
Joe Darcy
4faa0ee15c
8144880: Instrument intermittently failing test ConfigChanges.java
...
Reviewed-by: lancea, martin
2015-12-07 14:12:58 -08:00
Daniel Fuchs
66f1f09adb
8144262: LogRecord.getMillis() method is a convenience API that should not have been deprecated
...
LogRecord.getMillis() is no longer deprecated. LogRecord.setInstant() check that the instant millis can fit in a long millisecond-since-epoch.
Reviewed-by: lancea, rriggs, smarks
2015-12-07 12:35:37 +01:00
Xueming Shen
5675c04125
8143854: java/util/regex/RegExTest.java.RegExTest failed
...
Reviewed-by: darcy
2015-12-04 12:28:09 -08:00
Joe Darcy
3c3235b4cd
8144742: Instrument intermittently failing test GCDuringIteration.java
...
Reviewed-by: rriggs, martin
2015-12-04 11:01:53 -08:00
Rachna Goel
034df88671
8130246: java/util/Currency/PropertiesTest.sh fails Exception java.lang.NullPointerException
...
Updated PropertiesTest.sh to be sequential
Reviewed-by: naoto
2015-12-03 14:01:33 +05:30
Doug Lea
9ea1a16abd
8142441: Improve jtreg tests for java.util.concurrent
...
Reviewed-by: martin, psandoz, chegar, shade, plevart
2015-11-25 18:56:44 -08:00
Doug Lea
d28c703325
8072015: java/util/Collections/CheckedMapBash.java failed TreeSet(reverseOrder)
...
Reviewed-by: martin, psandoz, chegar, shade, plevart
2015-11-25 18:45:53 -08:00
Doug Lea
19cd84ef8c
8140471: java/util/concurrent/locks/ReentrantLock/TimeoutLockLoops.java timed out
...
Reviewed-by: martin, psandoz, chegar, shade, plevart
2015-11-25 18:40:41 -08:00
Doug Lea
247c08f85d
8140468: java/util/concurrent/locks/ReentrantLock/CancelledLockLoops.java failed with java.lang.Error: Completed == 4; expected 2
...
8040928
: java/util/concurrent/locks/ReentrantLock/CancelledLockLoops.java: java.lang.Error: Completed != 2
Reviewed-by: martin, psandoz, chegar, shade, plevart
2015-11-25 18:35:27 -08:00
Doug Lea
22fa6c1f25
8141031: java/util/concurrent/Phaser/Basic.java starts failing intermittently
...
Reviewed-by: martin, psandoz, chegar, shade, plevart
2015-11-25 18:30:07 -08:00
Naveen Kumar
f5466fa917
7047633: remove @ignore 6876961 from test/java/util/ResourceBundle/Test4300693.java
...
Reviewed-by: peytoia, okutsu
2015-11-25 13:29:14 +09:00
Rachna Goel
da87510683
7011840: TEST_BUG java/util/Locale/LocaleEnhanceTest.java
...
Outputting extra information in LocaleEnhanceTest.java
Reviewed-by: peytoia, naoto
2015-11-24 14:46:09 +05:30
Alexandre Iline
fb7027bca9
8139430: Refactor test library to decrease module dependencies of tests
...
Reviewed-by: mchung, alanb
2015-11-23 11:49:04 -08:00
Doug Lea
6646fcbf18
8144990: java/util/concurrent/forkjoin/FJExceptionTableLeak.java: OOM with Xcomp,G1GC
...
Reviewed-by: martin, psandoz, chegar
2016-01-28 08:23:23 -08:00
Martin Buchholz
b9d758e600
8148174: NegativeArraySizeException in Vector.grow(int)
...
Improve management of internal array
Reviewed-by: smarks, forax
2016-01-25 16:07:00 -08:00
Alan Bateman
3573d65040
8148147: Sync up @modules from jigsaw/jake
...
Reviewed-by: chegar, mchung
2016-01-25 19:01:19 +00:00
Claes Redestad
60134cc040
8148044: Remove Enum[0] constants from EnumSet and EnumMap
...
Reviewed-by: alanb, chegar, shade, smarks
2016-01-25 12:23:55 +01:00
Martin Buchholz
0e9196c50f
8146568: NegativeArraySizeException in ArrayList.grow(int)
...
Improve management of internal array
Reviewed-by: smarks
2016-01-08 19:53:36 -08:00
Daniel Fuchs
bd8942b7a1
8140364: JEP 264 Platform Logger API and Service Implementation
...
Initial implementation for JEP 264 Platform Logger API and Service
Reviewed-by: mchung, psandoz, rriggs
2015-11-20 19:26:16 +01:00
Paul Sandoz
e3111f5d49
8142493: Utility methods to check indexes and ranges doesn't specify behavior when function produces null
...
Reviewed-by: lancea, rriggs, mchung
2015-11-17 14:11:46 +01:00
Paul Sandoz
c16c0e61c9
8141409: Arrays.equals accepting a Comparator
...
Reviewed-by: rriggs
2015-11-17 14:11:42 +01:00
Alejandro Murillo
38b3ed8f07
Merge
2015-11-16 10:47:28 -08:00
Felix Yang
3c5dd5581c
8143015: 5 tests fail with error "Can't find source for class: java.util.stream.OpTestCase"
...
Reviewed-by: weijun
2015-11-16 12:54:01 +08:00
Jonathan Gibbons
39cb0e2223
8142996: move jdk java/util/streams tests into java.base directories
...
Reviewed-by: mchung
2015-11-13 15:55:32 -08:00
Alejandro Murillo
1d0da88fea
Merge
2015-11-13 10:35:27 -08:00
Roger Riggs
e15eefc7d7
8141652: Rename methods Objects.nonNullElse* to requireNonNullElse*
...
And some usages of replacing expr != null ? expr : otherexpr
Reviewed-by: jrose, chegar
2015-11-11 22:38:15 -05:00
Joseph Provino
f2134af77c
Merge
2015-11-11 23:45:51 +00:00
Amy Lu
765cd7602c
8142370: Move java/util/concurrent/Phaser/Basic.java to tier 2
...
Reviewed-by: darcy, martin
2015-11-10 13:15:01 +08:00
Joe Darcy
3cc6f8e724
8142369: Move TestLocalTime.java to tier 2
...
Reviewed-by: lancea, sherman
2015-11-09 18:27:43 -08:00
Paul Sandoz
b6f45b1889
8033148: Lexicographic comparators for arrays
...
Reviewed-by: jrose, chegar, bchristi, mduigou
2015-11-04 16:44:38 +01:00
David Holmes
90176d92ba
Merge
2015-10-29 21:38:11 -04:00
Chris Plummer
5b3684cf37
8140189: [TESTBUG] Get rid of "@library /../../test/lib" in jtreg tests
...
Use new external.lib.roots property in TEST.ROOT so /../../test/lib is not needed.
Reviewed-by: mseledtsov, sla, iklam
2015-10-29 12:02:53 -07:00
Paul Sandoz
5e8d2b8ebd
8080418: Add Optional.or()
...
Reviewed-by: chegar, forax, scolebourne
2015-10-19 11:28:50 -07:00
Sean Coffey
7af86aa369
6907252: ZipFileInputStream Not Thread-Safe
...
Reviewed-by: sherman
2015-10-15 09:33:03 +01:00
Doug Lea
c38b0eaba5
8134853: Bulk integration of java.util.concurrent classes
...
8080939: ForkJoinPool and Phaser deadlock
8044616: Clients of Unsafe.compareAndSwapLong need to beware of using direct stores to the same field
8071638: [JAVADOC] Buggy example in javadoc for afterExecute to access a submitted job's Throwable
8043743: Data missed in java.util.concurrent.LinkedTransferQueue
8054446: Repeated offer and remove on ConcurrentLinkedQueue lead to an OutOfMemoryError
8031374: TEST_BUG: java/util/concurrent/ConcurrentQueues/OfferRemoveLoops.java fails Intermittently
8034208: Cleanup to test/java/util/concurrent/BlockingQueue/Interrupt.java
8035661: Test fix java/util/concurrent/ConcurrentQueues/OfferRemoveLoops.java from jsr166 CVS
8062841: ConcurrentHashMap.computeIfAbsent stuck in an endless loop
8073208: javadoc typo in java.util.concurrent.Executor
8073704: FutureTask.isDone returns true when task has not yet completed
8037093: java/util/concurrent/locks/Lock/TimedAcquireLeak.java fails intermittently
8022642: ScheduledThreadPoolExecutor with zero corePoolSize create endlessly threads
8065320: Busy loop in ThreadPoolExecutor.getTask for ScheduledThreadPoolExecutor
8129861: High processor load for ScheduledThreadPoolExecutor with 0 core threads
8051859: ScheduledExecutorService.scheduleWithFixedDelay fails with max delay
7146994: example afterExecute for ScheduledThreadPoolExecutor hangs
Reviewed-by: martin, psandoz, chegar
2015-10-13 16:45:35 -07:00
Doug Lea
0f49a089d6
8134855: Bulk integration of java.util.concurrent.locks classes
...
8051848: ReentrantReadWriteLock.ReadLock fails on unlock by different thread
8049843: Lack of save / restore interrupt mechanism undermines the StampedLock
Reviewed-by: martin, psandoz, chegar
2015-10-13 16:35:22 -07:00
Doug Lea
2d8e9b323c
8134852: Integrate fork/join with API enhancements
...
Reviewed-by: martin, psandoz, chegar
2015-10-13 16:15:06 -07:00
Doug Lea
cf43156eed
8134851: Integrate CompletableFuture with API enhancements
...
8039378: CompletableFuture: Avoid StackOverflowError for long linear chains
Reviewed-by: martin, psandoz, chegar
2015-10-13 16:04:56 -07:00
Daniel Fuchs
bd69fa0635
8033661: readConfiguration does not cleanly reinitialize the logging system
...
Two new updateConfiguration methods have been added to LogManager: call updateConfiguration to update a configuration *after* the LogManager is initialized.
Reviewed-by: mchung
2015-10-12 20:13:22 +02:00
Paul Sandoz
25c1cff728
8135248: Add utility methods to check indexes and ranges
...
Reviewed-by: forax, chegar, scolebourne, jrose, darcy
2015-10-07 15:22:43 +02:00
Naoto Sato
f8dca18a53
8138613: Remove SPI locale provider adapter from the default provider list
...
Reviewed-by: okutsu
2015-10-05 08:16:11 -07:00
Naoto Sato
5710e3c754
8062006: Add a new locale data name "COMPAT" for java.locale.providers system property to reduce ambiguity
...
Reviewed-by: okutsu
2015-11-02 08:46:19 -08:00
Rachna Goel
4fc5003ff5
8061287: Update i18n tests to remove references of jre dir
...
Updated PropertiesTest.sh to remove references of jre dir.
Reviewed-by: naoto, peytoia
2015-10-26 19:49:22 +05:30
Daniel Fuchs
95b5f4d550
8137289: java/util/logging/DrainFindDeadlockTest.java hangs
...
Removed timeout=10 from @run command line. added new debug traces.
Reviewed-by: chegar, mchung
2015-09-30 11:17:32 +02:00
Chris Hegarty
0cc24c29ca
8137056: Move SharedSecrets and interface friends out of sun.misc
...
Reviewed-by: alanb, mchung, psandoz, rriggs
2015-09-28 13:39:27 +01:00
Naoto Sato
a463c1a271
8136518: java/util/TimeZone/CLDRDisplayNamesTest.java fails for de
...
Reviewed-by: okutsu
2015-09-24 09:05:24 -07:00
Tagir Valeev
94ba18f8b4
8136686: Collectors.counting can use Collectors.summingLong to reduce boxing
...
Reviewed-by: psandoz
2015-09-19 15:26:34 +02:00
Stuart Marks
343e882e7f
8072722: add stream support to Scanner
...
Reviewed-by: psandoz, chegar, sherman
2015-09-16 16:24:35 -07:00
Martin Buchholz
a2f0fe3c94
8136583: Core libraries should use blessed modifier order
...
Run blessed-modifier-order script (see bug)
Reviewed-by: psandoz, chegar, alanb, plevart
2015-09-15 21:56:04 -07:00
David Holmes
f032aa1311
8133611: Remove java/util/concurrent/locks/ReentrantLock/TimeoutLockLoops.java from problem list
...
Reviewed-by: darcy
2015-09-09 04:02:59 -04:00
Martin Buchholz
24742f7b1d
8134984: Text files should end in exactly one newline
...
Automated fixup of newlines at end-of-file via the usual perl one-liner
Reviewed-by: chegar, sherman
2015-09-02 14:11:50 -07:00
Xueming Shen
bef17a6e80
8039390: Unexpected behaviour of String.format with null arguments
...
To explicitly specify the null behavior for all conversions
Reviewed-by: rriggs
2015-08-15 04:38:51 +00:00
Joe Darcy
c32cc2b967
8133231: Mark TimeoutLockLoops.java as failing intermittently
...
Reviewed-by: lancea
2015-08-10 16:28:31 -07:00
Naoto Sato
b9a10bbf8d
8133044: [TESTBUG] CLDRDisplayNameTest uses deprecated API, fails
...
Reviewed-by: okutsu
2015-08-06 18:20:11 -07:00
Daniel Fuchs
6af81451d1
8132550: java/util/logging/LoggingDeadlock2.java times out
...
LogManager must also use the configurationLock when reading its primordial configuration.
Reviewed-by: joehw
2015-08-06 16:36:47 +02:00
Naoto Sato
9166dacb21
8129881: JDK-8008577 breaks Nashorn test
...
8130845: Change to CLDR Locale data in JDK 9 b71 causes SimpleDateFormat parsing errors
8132125: German (Switzerland) formatting broken if CLDR Locale Data is used
Reviewed-by: tbell, okutsu
2015-08-03 21:47:50 -07:00
Stuart Marks
791c9bdc4d
8132745: minor cleanup of java/util/Scanner/ScanTest.java
...
Reviewed-by: darcy, sherman
2015-07-30 22:21:56 -07:00
Yong Jeffrey Huang
7e1ed8f785
8129361: ISO 4217 amendment 160
...
Reviewed-by: naoto
2015-07-29 23:36:51 -07:00
Stuart Marks
572e30db49
8132206: move ScanTest.java into OpenJDK
...
Reviewed-by: psandoz, sherman
2015-07-29 15:21:12 -07:00
Naoto Sato
0dfdc19faa
8027607: (rb) Provide UTF-8 based properties resource bundles
...
Reviewed-by: okutsu, sherman
2015-07-29 13:36:53 -07:00
Xueming Shen
3d82fdcaad
8130914: java/util/zip/TestExtraTime.java fails with "java.lang.RuntimeException: setTime should make getLastModifiedTime return the specified instant: 3078282244456 got: 3078282244455"
...
Fixed the 32-bit overflow.
Reviewed-by: rriggs
2015-07-22 21:11:38 -07:00
Xueming Shen
47dbbc7b72
8075526: Need a way to read and write ZipEntry timestamp using local date/time without tz conversion
...
To add a pair of set/getTimeLocal()
Reviewed-by: ksrini, rriggs
2015-07-22 21:43:33 +00:00
Joe Darcy
6e48caf250
8081734: ConcurrentHashMap/ConcurrentAssociateTest.java, times out 90% of time on sparc with 256 cpu
...
Reviewed-by: chegar
2015-07-20 15:13:50 -07:00
Amy Lu
1aa0bf7daf
8131140: Mark some tests from WhileOpStatefulTest.java and WhileOpTest.java as serialization hostile
...
Reviewed-by: psandoz
2015-07-16 10:21:21 +02:00
Ivan Gerasimov
9b9fde193f
6854417: TESTBUG: java/util/regex/RegExTest.java fails intermittently
...
Reviewed-by: sherman
2015-07-14 02:03:35 +03:00
Paul Sandoz
5744f4fc30
8071597: Add Stream dropWhile and takeWhile operations
...
Reviewed-by: briangoetz, smarks, chegar, forax
2015-06-09 07:10:03 +01:00
Martin Buchholz
57996d703c
6260652: (coll) Arrays.asList(x).toArray().getClass() should be Object[].class
...
Return Arrays.copyOf(a, a.length, Object[].class)
Reviewed-by: igerasim, psandoz
2015-06-29 15:02:35 -07:00
Daniel Fuchs
16318cebe6
8130649: java/util/logging/LoggingDeadlock2.java times out
...
Added additional traces and thread dump diagnosis for the child process
Reviewed-by: lancea
2015-07-08 11:58:14 +02:00
Amy Lu
512986a71c
8129759: Mark two tests from DistinctOpTest.java and SliceOpTest.java as serialization hostile
...
Reviewed-by: psandoz
2015-06-30 10:00:46 +02:00
Naoto Sato
a693ebca66
8008577: Use CLDR Locale Data by Default
...
Reviewed-by: erikj, okutsu
2015-06-24 16:42:11 -07:00
Xueming Shen
b46a6500b0
8129544: ArrayIndexOutOfBoundsException when decoding corrupt Base64 string
...
To take input bytes as unsigned before check range
Reviewed-by: alanb
2015-06-24 11:15:23 -07:00
Paul Sandoz
f219ffb2f2
8072773: (fs) Files.lines needs a better splitting implementation for stream source
...
Reviewed-by: alanb
2015-06-24 12:05:30 +02:00
Paul Sandoz
3a0e0c86d3
8129120: Terminal operation properties should not be back-propagated to upstream operations
...
Reviewed-by: briangoetz, chegar
2015-06-23 09:49:55 +02:00
Brian Burkhalter
906d12aa2d
8079539: java/util/prefs/CodePointZeroPrefsTest.java fails with "java.util.prefs.BackingStoreException: Couldn't get file lock."
...
Add @run tag with property -Djava.util.prefs.userRoot=.
Reviewed-by: alanb
2015-06-18 17:20:42 -07:00
Roger Riggs
4758ab0627
8138963: java.lang.Objects new method to default to non-null
...
Add java.util.Object.nonNullElse and nonNullElseGet
Reviewed-by: dfuchs, jrose, psandoz, smarks, igerasim, chegar
2015-10-21 14:18:49 -04:00
Doug Lea
975075a8c8
8085978: LinkedTransferQueue<T>.spliterator can report LTQ.Node object, not T
...
Reviewed-by: psandoz, martin
2015-06-16 13:13:05 +02:00
Amy Lu
3f8d76f352
8085879: Mark intermittently failing: java/util/Arrays/ParallelPrefix.java
...
Reviewed-by: darcy
2015-06-12 14:28:21 +08:00
Sean Mullan
d107e7ec6c
Merge
2015-06-09 09:19:43 -04:00
Sean Mullan
e37ef5fefc
8056179: Store permissions in concurrent collections in PermissionCollection subclasses
...
8065942: Store PermissionCollection entries in a ConcurrentHashMap instead of a HashMap in Permissions class
Reviewed-by: weijun
2015-06-09 09:18:07 -04:00
Sunny Chan
36d62dcbb1
8080945: Improve the performance of primitive Arrays.sort for certain patterns of array elements
...
Co-authored-by: Mohammad Rezaei <mohammad.rezaei@gs.com>
Reviewed-by: psandoz
2015-06-09 07:05:48 +01:00
Stuart Marks
bc90fc9b01
8072726: add adapter to convert Enumeration to Iterator
...
Reviewed-by: redestad, forax, chegar, dfuchs, psandoz, rriggs, briangoetz
2015-06-04 18:28:14 -07:00
Chris Hegarty
52d42bb03a
8085858: Better failure output for test/java/util/Arrays/ParallelPrefix.java
...
Reviewed-by: psandoz, igerasim
2015-06-04 19:28:45 +01:00
Mandy Chung
53a97cbeb3
8081347: Add @modules to jdk_core tests
...
Co-authored-by: Alexander Kulyakthin <alexander.kulyakhtin@oracle.com>
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Reviewed-by: alanb, joehw, lancea
2015-05-28 10:54:48 -07:00
Peter Levart
30bcd97f81
8077846: improve locking strategy for readConfiguration(), reset(), and initializeGlobalHandlers()
...
Co-authored-by: Daniel Fuchs <daniel.fuchs@oracle.com>
Reviewed-by: dholmes, alanb, mchung
2015-05-17 10:38:36 +02:00
Stuart Marks
9af3729cc7
8078463: TEST_BUG: optimize java/util/Map/Collisions.java
...
Reviewed-by: martin, chegar, dfuchs
2015-05-14 13:52:05 -07:00
Daniel Fuchs
04f236baec
8079773: java/util/logging/LogManager/TestLoggerNames.java
...
Fixed a race condition in the test which was responsible of the intermittent failure.
Reviewed-by: mchung
2015-05-12 14:32:50 +02:00
Paul Sandoz
0e7987c721
8078645: removeIf(filter) in ConcurrentHashMap removes entries for which filter is false
...
Co-authored-by: Doug Lea <dl@cs.oswego.edu>
Reviewed-by: martin, dholmes
2015-05-12 10:50:40 +02:00