Commit Graph

999 Commits

Author SHA1 Message Date
Amy Lu
b853c8f575 8152873: java/util/Locale/LocaleProviders.sh fails after JDK-8150432
Reviewed-by: darcy
2016-03-29 10:47:03 +08:00
Claes Redestad
996686aae0 8152733: Avoid creating Manifest when checking for Multi-Release attribute
Co-authored-by: Steve Drach <steve.drach@oracle.com>
Reviewed-by: psandoz, alanb
2016-03-28 22:25:32 +02:00
Rachna Goel
63cdcb2f4b 8150432: LocaleProviders.sh fails
Updated Windows 10 kernel name.

Reviewed-by: okutsu
2016-03-28 12:36:33 +05:30
Doug Lea
837a779be8 8152083: Optimize TimeUnit conversions
Reviewed-by: martin, shade, forax
2016-03-28 08:53:39 -07:00
Chris Hegarty
3dd92e7102 Merge 2016-03-22 16:02:32 +00:00
Tagir F. Valeev
89599944c6 8148748: ArrayList.subList().spliterator() is not late-binding
Reviewed-by: psandoz
2016-03-22 16:28:52 +01:00
Chris Hegarty
ff2e79c118 Merge 2016-03-22 10:42:32 +00:00
Alan Bateman
db4d383614 8142968: Module System implementation
Initial integration of JEP 200, JEP 260, JEP 261, and JEP 282

Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Alexandr Scherbatiy <alexandr.scherbatiy@oracle.com>
Co-authored-by: Amy Lu <amy.lu@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Co-authored-by: Daniel Fuchs <daniel.fuchs@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Jaroslav Bachorik <jaroslav.bachorik@oracle.com>
Co-authored-by: Jean-Francois Denise <jean-francois.denise@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: Miroslav Kos <miroslav.kos@oracle.com>
Co-authored-by: Huaming Li <huaming.li@oracle.com>
Co-authored-by: Sean Mullan <sean.mullan@oracle.com>
Co-authored-by: Naoto Sato <naoto.sato@oracle.com>
Co-authored-by: Masayoshi Okutsu <masayoshi.okutsu@oracle.com>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Co-authored-by: Philip Race <philip.race@oracle.com>
Co-authored-by: Claes Redestad <claes.redestad@oracle.com>
Co-authored-by: Sergey Bylokhov <sergey.bylokhov@oracle.com>
Co-authored-by: Alexandre Iline <alexandre.iline@oracle.com>
Co-authored-by: Volker Simonis <volker.simonis@gmail.com>
Co-authored-by: Staffan Larsen <staffan.larsen@oracle.com>
Co-authored-by: Stuart Marks <stuart.marks@oracle.com>
Co-authored-by: Semyon Sadetsky <semyon.sadetsky@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Co-authored-by: Valerie Peng <valerie.peng@oracle.com>
Co-authored-by: Vincent Ryan <vincent.x.ryan@oracle.com>
Co-authored-by: Weijun Wang <weijun.wang@oracle.com>
Co-authored-by: Yuri Nesterenko <yuri.nesterenko@oracle.com>
Co-authored-by: Yekaterina Kantserova <yekaterina.kantserova@oracle.com>
Co-authored-by: Alexander Kulyakthin <alexander.kulyakhtin@oracle.com>
Co-authored-by: Felix Yang <felix.yang@oracle.com>
Co-authored-by: Andrei Eremeev <andrei.eremeev@oracle.com>
Co-authored-by: Frank Yuan <frank.yuan@oracle.com>
Co-authored-by: Sergei Pikalev <sergei.pikalev@oracle.com>
Co-authored-by: Sibabrata Sahoo <sibabrata.sahoo@oracle.com>
Co-authored-by: Tiantian Du <tiantian.du@oracle.com>
Co-authored-by: Sha Jiang <sha.jiang@oracle.com>
Reviewed-by: alanb, mchung, naoto, rriggs, psandoz, plevart, mullan, ascarpino, vinnie, prr, sherman, dfuchs, mhaupt
2016-03-17 19:04:16 +00:00
Amy Lu
c53d88d41f 8151798: Mark java/util/TimeZone/Bug6772689.java as intermittently failing and demote to tier2
Reviewed-by: lancea
2016-03-14 19:46:19 +08:00
Amy Lu
6c3caacddc 8151286: Remove intermittent key from TestLocalTime.java and move back to tier1
Reviewed-by: darcy
2016-03-05 10:30:23 +08:00
Doug Lea
b5d355ac84 8150416: Miscellaneous changes imported from jsr166 CVS 2016-03
Reviewed-by: martin, psandoz
2016-03-03 10:46:22 -08:00
Doug Lea
1c04a6de53 8150523: improve jtreg test timeout handling, especially -timeout:
Reviewed-by: martin, psandoz, smarks
2016-03-03 10:43:07 -08:00
Doug Lea
90771aabae 8150319: ScheduledExecutorTest:testFixedDelaySequence timeout with slow VMs
Reviewed-by: martin, psandoz
2016-03-03 10:36:08 -08:00
Doug Lea
eb0aa24726 6842353: Linux testcase failure java/util/WeakHashMap/GCDuringIteration.java
Reviewed-by: martin, psandoz, darcy
2016-03-03 10:32:35 -08:00
Tagir F. Valeev
c880124c81 8147505: BaseStream.onClose() should not allow registering new handlers after stream is consumed
Reviewed-by: psandoz
2016-03-03 10:06:25 +01:00
Tagir F. Valeev
90adb4174f 8072727: add variation of Stream.iterate() that's finite
Reviewed-by: psandoz, briangoetz
2016-03-03 10:06:16 +01:00
Chris Hegarty
645c21e16f 8150976: JarFile and MRJAR tests should use the JDK specific Version API
Reviewed-by: alanb, mchung
2016-03-02 16:25:29 +00:00
Daniel Fuchs
ae7478607a 8150533: Test java/util/logging/LogManagerAppContextDeadlock.java times out intermittently
This is a test bug caused by a Logger being garbage collected too early.

Reviewed-by: darcy
2016-02-26 12:11:28 +01:00
Steve Drach
4054254344 8132734: JDK 9 runtime changes to support multi-release jar files
JEP 238 Multi-Release JAR Files runtime support

Reviewed-by: alanb, psandoz, sherman
2016-02-15 17:47:53 -08:00
Amy Lu
2d281f78c4 8149920: Remove intermittent key from jdk_core tests
Reviewed-by: darcy
2016-02-18 09:50:55 +08:00
Joe Darcy
0aeed22bf5 8149981: java/util/Formatter/Basic.java fails after JDK-8149896
Reviewed-by: rriggs, bpb
2016-02-16 11:06:19 -08:00
Doug Lea
eb6ab98ebc 8145485: Miscellaneous changes imported from jsr166 CVS 2016-02
Reviewed-by: martin, psandoz, chegar
2016-02-16 09:52:49 -08:00
Doug Lea
1e1ba84461 8139927: Improve documentation for CompletableFuture composition
8143089: CompletableFuture.whenComplete should use addSuppressed

Reviewed-by: martin, psandoz, chegar, plevart
2016-02-16 09:49:14 -08:00
Xueming Shen
05ca3c971e 8135108: java/util/zip/TestLocalTime.java fails intermittently with Invalid value for NanoOfSecond
Reviewed-by: darcy
2016-02-15 18:41:23 -08:00
Xueming Shen
8fe03ae5d2 8148624: Test failure of ConstructInflaterOutput.java
Reviewed-by: darcy
2016-02-15 10:27:13 -08:00
Xueming Shen
95e6d62963 8149787: test/java/util/regex/GraphemeTest.java source file has non-ascii character u+00f7
Reviewed-by: igerasim
2016-02-14 14:30:48 -08:00
Xueming Shen
0072af1be6 7071819: To support Extended Grapheme Clusters in Regex
8147531: To add named character construct \N{...} to support Unicode name property

Reviewed-by: naoto, okutsu, plevart
2016-02-12 19:24:31 -08:00
Alexandre Iline
451a576a42 8149391: Fix module dependences in java/util tests
Reviewed-by: mchung
2016-02-08 18:14:48 -08:00
Tagir F. Valeev
0e250ec504 8148838: Stream.flatMap(...).spliterator() cannot properly split after tryAdvance()
Reviewed-by: psandoz
2016-02-08 15:33:53 +01:00
Tagir F. Valeev
e41fea88e7 8148115: Stream.findFirst for unordered source optimization
Reviewed-by: psandoz
2016-02-08 10:40:00 +01:00
Tagir F. Valeev
9e65963f4f 8148250: Stream.limit() parallel tasks with ordered non-SUBSIZED source should short-circuit
Reviewed-by: psandoz
2016-02-08 10:37:37 +01:00
Huaming Li
1ae6dc3825 8148928: java/util/stream/test/**/SequentialOpTest.java timed out intermittently
Reviewed-by: psandoz
2016-02-05 09:54:56 +08:00
Aleksey Shipilev
24816037ab 8148936: Adapt UUID.toString() to Compact Strings
Reviewed-by: igerasim, redestad
2016-02-04 16:00:48 +03:00
David Dehaven
4ba2917e46 Merge 2016-02-02 10:03:14 -08:00
Nadeesh TV
6d4368a7cb 8141452: Convert between TimeUnit and ChronoUnit
Reviewed-by: martin, psandoz, chegar, rriggs, scolebourne
2016-02-02 08:53:49 -08:00
Huaming Li
e3570fa3eb 8076458: java/util/stream/test/org/openjdk/tests/java/util/stream/FlatMapOpTest.java timeout
Reviewed-by: psandoz
2016-02-01 09:38:08 +08:00
Martin Buchholz
6721e37306 8148638: test failure in test/java/util/concurrent/tck
Temporarily comment out assertions for not-yet-merged changes

Reviewed-by: rriggs
2016-01-29 13:57:38 -08:00
Doug Lea
7f6a9e3180 8145164: Default implementation of ConcurrentMap::compute can throw NPE
Reviewed-by: martin, psandoz, chegar
2016-01-29 11:49:37 -08:00
Doug Lea
c2919752fd 8146467: Integrate JSR 166 jck tests into JDK repo
Reviewed-by: martin, psandoz, chegar, fyuan, jjg
2016-01-29 11:44:19 -08:00
David Dehaven
8969d1404a Merge 2016-01-21 14:49:02 -08:00
Joe Darcy
a56d95529c 8147480: Mark FJExceptionTableLeak.java as intermittently failing
Reviewed-by: martin, lancea, rriggs
2016-01-15 10:30:56 -08:00
Yuka Kamiya
e5b7cbe7d2 8026766: Add toString() to j.u.Locale.LanguageRange
Reviewed-by: okutsu
2016-01-15 14:33:11 +09:00
Daniel Fuchs
55a9500797 8146665: Test jdk/test/java/util/logging/LogManager/Configuration/updateConfiguration/UpdateConfigurationTest.java fails - missing expected output
Increases numbers of gc loops and fix finally {} clause to get a better diagnostic

Reviewed-by: mchung
2016-01-11 18:30:14 +01:00
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
Chris Hegarty
008fee0591 8079782: RandomFactory should be in the jdk.testlibrary package
Reviewed-by: bpb
2015-05-08 11:02:33 +01:00
Joe Darcy
709770f935 8079544: Mark java/util/regex/RegExTest.java as failing intermittently
Reviewed-by: sherman
2015-05-06 16:00:15 -07:00
Joe Darcy
3830136846 8079419: Update to RegEx test to use random number library
Reviewed-by: sherman
2015-05-05 15:34:22 -07:00
Naoto Sato
ae93bb2873 8075545: Add permission check for locale service provider implementations
Reviewed-by: mchung, alanb
2015-04-29 11:03:56 -07:00
Joe Darcy
86c109e149 8078334: Mark regression tests using randomness
Reviewed-by: xuelei, alanb
2015-04-29 10:25:53 -07:00
Brian Burkhalter
6929be6fff 8075156: (prefs) get*() and remove() should disallow the use of the null control character '\u0000' as key
Extend disallowing null control character key to remove()

Reviewed-by: rriggs, alanb
2015-04-28 11:10:45 -07:00
Doug Lea
37fbfc1a3d 8078490: Missed submissions in ForkJoinPool
Reviewed-by: psandoz, shade, martin, chegar
2015-04-24 15:39:41 +02:00
Naoto Sato
5b2c289414 8076287: Performance degradation observed with TimeZone Benchmark
Reviewed-by: okutsu
2015-04-16 08:25:19 -07:00
Chris Hegarty
7e6f12e6e9 8076442: Cannot fully read BitSet.stream() if bit Integer.MAX_VALUE is set
Reviewed-by: alanb, henryjen
2015-04-07 10:33:08 +01:00
Xueming Shen
2de64493a2 8076641: getNextEntry throws ArrayIndexOutOfBoundsException when unzipping file
To add extra sanity check for entry extra data

Reviewed-by: alanb
2015-04-06 13:41:10 -07:00
Brent Christian
6c5d70bfbc 8071667: HashMap.computeIfAbsent() adds entry that HashMap.get() does not find
Throw ConcurrentModificationException from computeIfAbsent() & friends

Reviewed-by: chegar, psandoz
2015-04-02 12:33:03 -07:00
Daniel Fuchs
ce950c0798 7113878: LogManager - namedLoggers should be ConcurrentHashMap instead of Hashtable
NamedLoggers is now a ConcurrentHashMap. findLogger is updated to take benefit of the change.

Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: dholmes, lancea, martin, mchung, plevart
2015-04-02 16:24:46 +02:00
Daniel Fuchs
679db144e5 8075810: LogManager.readConfiguration may throw undocumented IllegalArgumentException
LogManager.readConfiguration will wrap the IllegalArgumentException thrown by Properties.load inside an IOException.

Reviewed-by: lancea, mchung, rriggs
2015-04-02 11:42:07 +02:00
Martin Buchholz
a194da7ffb 8076105: java/util/zip/EntryCount64k.java failing after push for JDK-8073158
Fix Windows newline problem; write enclosing class file for MacOSX

Reviewed-by: sherman, alanb
2015-03-30 09:46:05 -07:00
Masayoshi Okutsu
90e30c53bc 8075548: SimpleDateFormat formatting of "LLLL" in English is incorrect; should be identical to "MMMM"
Reviewed-by: naoto
2015-03-30 16:31:18 +09:00
Martin Buchholz
8ab93c84ec 8073158: zip files with total entry count 0xFFFF need not be ZIP64 files
Minor rewrite of crufty zip implementation in parse_manifest.c

Reviewed-by: sherman
2015-03-25 15:36:43 -07:00
Paul Sandoz
b220e6cb1d 8075307: Pipeline calculating inconsistent flag state for parallel stateful ops
Reviewed-by: smarks
2015-03-25 10:50:08 +00:00
Lev Priima
2b63b5d1d7 8075071: [TEST_BUG] TimSortStackSize2.java: OOME: Java heap space: MaxHeap shrinked by MaxRAMFraction
Reviewed-by: dholmes
2015-03-24 03:46:57 -04:00
Brian Burkhalter
d7419560c2 8075362: j.u.Properties.load() methods have misaligned @throws clauses
Add spaces to align the @throws clauses, and rename Basic.java test and its @summary clause.

Reviewed-by: rriggs
2015-03-20 10:37:03 -07:00
Naoto Sato
ca08065c34 8074350: Support ISO 4217 "Current funds codes" table (A.2)
8074351: Support for currencies with the 4 digits (or more) minor unit

Reviewed-by: okutsu
2015-03-17 16:04:26 -07:00
Xueming Shen
f3a2e4480d 8074678: JCK test java_util/regex/MatchResult/index.html starts failing after JDK-8071479
To add non-match sanity check

Reviewed-by: psandoz
2015-03-17 09:54:36 -07:00
Amy Lu
b8770ac035 8075111: Mark testFlatMappingClose (from CollectorsTest) as serialization hostile
Reviewed-by: psandoz
2015-03-16 10:24:16 +01:00
Aggelos Biboudis
cb566c6ce5 8067969: Optimize Stream.count for SIZED Streams
Reviewed-by: psandoz, chegar
2015-03-16 10:19:49 +01:00
Brian Burkhalter
6290291b27 8075110: (prefs) CodePointZeroPrefsTest fails on certain platforms
Contrain test to the Linux and Solaris OS families

Reviewed-by: darcy
2015-03-13 15:03:42 -07:00
Brian Burkhalter
17f8ee8cf0 8073214: javadoc of Properties methods should specify NullPointerExceptions
Add test for null parameter and corresponding throws clause to load() methods

Reviewed-by: darcy
2015-03-13 14:54:40 -07:00
Brian Burkhalter
68ef8f6035 8068373: (prefs) FileSystemPreferences writes \0 to XML storage, causing loss of all preferences
Disallow entries whose key or value contains the null control character '\u0000' from being stored in the preferences node.

Reviewed-by: psandoz, rriggs
2015-02-12 12:56:48 -08:00
Paul Sandoz
0405de7fca 8071479: Stream and lambdafication improvements to j.u.regex.Matcher
Reviewed-by: smarks, briangoetz, sherman
2015-03-03 12:30:48 +01:00
Claes Redestad
c8e99e3610 8073497: Lazy conversion of ZipEntry time
Reviewed-by: sherman, plevart
2015-02-28 13:17:13 +01:00
Paul Sandoz
95b2455d16 8071600: Add a flat-mapping collector
Reviewed-by: smarks, chegar, briangoetz
2015-02-27 09:58:25 +01:00
Lev Priima
ff45a0b5b0 8073354: TimSortStackSize2.java: test cleanup: make test run with single argument
Reviewed-by: dholmes
2015-02-26 18:50:02 -05:00
Daniel Fuchs
fc084beb84 8072645: java.util.logging should use java.time to get more precise time stamps
J.u.logging uses j.t.Instant to store LogRecord time stamps. XMLFormatter format is updated to allow for a new optional <nanos> element containing a nano second adjustment. SimpleFormatter passes a ZonedDateTime object to String.format. LogRecord getMillis/setMillis are deprecated, replaced by getInstant/setInstant.

Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: scolebourne, plevart, rriggs
2015-02-25 18:41:07 +01:00
Claes Redestad
16989e7b17 8068790: ZipEntry/JarEntry.setCreation/LastAccessTime(null) don't throw NPE as specified
Reviewed-by: coffeys, sherman
2015-02-21 13:46:24 +01:00
Lev Priima
a1d6f0cbcd 8073124: Tune test and document TimSort runs length stack size increase
Reviewed-by: dholmes
2015-02-16 19:16:50 -05:00
Paul Sandoz
a12ad15110 8069325: Pattern.splitAsStream does not return input if it is empty and there is no match
Reviewed-by: sherman
2015-02-13 11:13:30 +01:00
Paul Sandoz
4b2af9acf9 8071670: java.util.Optional: please add a way to specify if-else behavior
Reviewed-by: dfuchs, lowasser
2015-02-13 11:13:27 +01:00
Lev Priima
892b06056c 8072909: TimSort fails with ArrayIndexOutOfBoundsException on worst case long arrays
Reviewed-by: rriggs, dholmes
2015-02-12 10:34:35 -05:00
Paul Sandoz
7c67f47c4d 8050819: Please add java.util.Stream.ofNullable(T object)
Reviewed-by: alanb, smarks
2015-02-10 11:18:51 +01:00
Paul Sandoz
c007f0f7d4 8072030: Race condition in ThenComposeExceptionTest.java
Reviewed-by: chegar
2015-02-02 14:21:32 +01:00
Paul Sandoz
dd21d2c4db 8050820: Please add java.util.Optional.stream() to convert Optional<T> to Stream<T>
Reviewed-by: alundblad, forax, chegar, jrose
2015-02-02 14:19:12 +01:00
Masayoshi Okutsu
f6262c1abc 8065178: test/java/util/ResourceBundle/Bug6287579.java needs update for per language package support
Reviewed-by: naoto, peytoia
2015-01-27 12:59:45 +09:00
Paul Sandoz
d58ef60b88 8071477: Better Spliterator implementations for String.chars() and String.codePoints()
Reviewed-by: sherman
2015-01-26 17:26:49 +00:00
Peter Levart
eae923a8ae 8068427: Hashtable deserialization reconstitutes table with wrong capacity
Reviewed-by: mduigou, martin, chegar, dfuchs
2015-01-21 21:42:22 +01:00
Doug Lea
595be219a4 8068432: Inconsistent exception handling in CompletableFuture.thenCompose
Reviewed-by: psandoz, chegar, martin
2015-01-21 09:46:21 +00:00
Alejandro Murillo
c74ecba112 Merge 2015-01-08 17:11:49 -08:00
Brian Burkhalter
29fc16ebbe 8059175: Zero BigDecimal with negative scale prints leading zeroes in String.format
Correct erroneous appending of zeroes and clean up code logic.

Reviewed-by: darcy, psandoz
2015-01-07 14:15:00 -08:00
Yumin Qi
5e2fcdcda0 Merge 2014-12-19 22:58:32 -08:00
Katja Kantserova
f1e461b61e 6977426: sun/tools tests can intermittently fail to find app's Java pid
Reviewed-by: dfuchs, jbachorik, egahlin, sjiang
2014-12-19 13:13:11 +01:00
Naoto Sato
9cb99ee080 8062588: Support java.util.spi.*, java.text.spi.*, java.awt.im.spi loaded from classpath
Reviewed-by: alanb
2014-12-16 12:48:31 -08:00
Amy Lu
3b60f51758 8067112: Update java/util/Collections/EmptyIterator.java to eliminate dependency on sun.tools.java
Reviewed-by: chegar, prappo
2014-12-13 20:22:21 +00:00
Daniel Fuchs
7e7e10eb42 8065991: LogManager unecessarily calls JavaAWTAccess from within a critical section
The call to JavaAWTAccess is moved outside of the critical section

Reviewed-by: mchung
2014-12-05 12:20:51 +01:00
Chris Hegarty
43842f6349 Merge 2014-12-03 19:28:35 +00:00
Chris Hegarty
441905cdc7 8049367: Modular Run-Time Images
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Bradford Wetmore <bradford.wetmore@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: chegar, dfuchs, ihse, joehw, mullan, psandoz, wetmore
2014-12-03 14:22:58 +00:00
Jan Lahoda
56d2ce25a9 8065998: Avoid use of _ as a one-character identifier
Reviewed-by: alanb, chegar, darcy
2014-12-02 15:12:40 +01:00
Daniel Fuchs
96da5b9ce3 8060132: Handlers configured on abstract nodes in logging.properties are not always properly closed
Loggers which have been configured with a handler in the configuration file will be retained by the LogManager until reset() is called. A new configuration property is added to explicitely turn the fix off.

Reviewed-by: mchung
2014-11-24 17:02:37 +01:00
Stuart Marks
da2c303927 8056313: TEST_BUG: java/util/Timer/NameConstructors.java fails intermittently
Reviewed-by: lancea, rriggs
2014-11-21 13:32:17 -08:00
Staffan Friberg
c90bc5b316 6321472: Add CRC-32C API
To add CRC-32C api and implementation

Reviewed-by: sherman
2014-11-21 09:28:53 -08:00
Claes Redestad
f50ee8896a 8058887: (fmt) Improve java/util/Formatter test coverage of group separators and width
Reviewed-by: sherman
2014-11-16 15:03:46 +01:00