Commit Graph

606 Commits

Author SHA1 Message Date
Ivan Gerasimov
0c0e4775d4 8014066: Remove redundant restriction from ArrayList#removeRange() spec
Reviewed-by: chegar, dholmes, martin, mduigou
2014-03-26 15:58:37 +04:00
Paul Sandoz
0ba46cd40c 8037857: Methods j.u.Arrays.spliterator/stream(X[], int, int) throw IAE instead of specified AIOOBE when endIndex < startIndex
Reviewed-by: alanb
2014-03-24 17:07:08 +01:00
Paul Sandoz
761e2c85b3 8037106: Optimize Arrays.asList(...).forEach
Reviewed-by: alanb, martin, mduigou, ulfzibis
2014-03-18 11:24:38 +01:00
Lana Steuck
657b9db1ba 8029235: Update copyright year to match last edit in jdk8 jdk repository for 2013
Updated files with 2011, 2012 and 2013 years according to the file's last updated date

Reviewed-by: tbell, lancea, chegar
2013-12-26 12:04:16 -08:00
Xueming Shen
e2a87a0e2c 8035076: Pattern$BnMS never used due to bug in Pattern$BnM.optimize
Updated SliceS to subclass Slice node

Reviewed-by: alanb, martin
2014-02-20 09:52:50 -08:00
Naoto Sato
7cb914ecd2 8027289: [Windows zh_CN] NumberFormat: Incorrect sequence of loading currency symbol
Reviewed-by: erikj
2014-02-19 09:17:28 -08:00
Daniel Fuchs
2f7d6e1157 8029876: Add a test to verify that Logger.getLogger & LogManager.getLogManager don't throw NPE when System.out == null
Adds a new test that verifies that the suspected root cause of JDK-8025512 does not cause NPE to be thrown.

Reviewed-by: mchung
2014-02-11 12:23:28 +01:00
Alan Bateman
804f3e85f3 8034175: Remove use of UseVMInterruptibleIO from tests
Reviewed-by: chegar
2014-02-11 10:49:07 +00:00
Rob McKenna
77bcb60eee 7152892: some jtreg tests fail with permission denied
Reviewed-by: coffeys
2014-02-10 14:35:42 +00:00
Henry Jen
e956dc0c43 8033590: java.util.Comparator::thenComparing has unnecessary type restriction
Reviewed-by: psandoz
2014-02-06 10:30:18 -08:00
Daniel Fuchs
11c56780a4 8033542: test/java/util/logging/SimpleLogManager might let Loggers be gc'ed too early
Fix another case of potentially premature Logger garbage collection in tests.

Reviewed-by: mchung
2014-02-05 17:56:04 +01:00
Chris Hegarty
936e416310 8011645: CopyOnWriteArrayList.COWSubList.subList does not validate range properly
Reviewed-by: martin, psandoz
2014-01-31 18:32:07 +00:00
Naoto Sato
e72d99fef1 8030696: Norwegian locales nb_NO and nn_NO should be available locales
Reviewed-by: okutsu
2014-01-31 10:04:16 -08:00
Vladimir Kozlov
57b7b831ae Merge 2014-01-28 14:57:41 -08:00
Vladimir Kozlov
9c83896027 Merge 2014-01-22 14:17:32 -08:00
Daniel Fuchs
3f1dd83c32 8031980: Add new j.u.l deadlock test for JDK-8027670 and JDK-8029281
Adds a new test for the deadlock found in JDK-8027670 and fixed in JDK-8029281.

Reviewed-by: mchung
2014-01-21 14:28:13 +01:00
Volker Simonis
70041ae4e4 8028537: PPC64: Updated the JDK regression tests to run on AIX
Co-authored-by: Jonathan Lu <luchsh@linux.vnet.ibm.com>
Co-authored-by: Steve Poole <spoole@linux.vnet.ibm.com>
Reviewed-by: alanb
2014-01-17 21:54:30 +01:00
Srikalyan Chandrashekar
b82ed208c9 6772009: java/util/concurrent/locks/ReentrantLock/CancelledLockLoops.java test failed with 'Completed != 2'
Reviewed-by: martin, dholmes
2014-01-08 13:08:20 +00:00
Tristan Yan
97d83a1cd7 8030089: java/util/zip/ZipFile/FinalizeZipFile.java intermittently fails with fastdebug builds
Reviewed-by: alanb
2014-01-08 12:59:57 +00:00
Martin Buchholz
30717d9de3 8032057: Remove unneeded/obsolete -source options in concurrency tests
Reviewed-by: chegar
2014-01-17 13:54:13 +00:00
Chris Hegarty
2878960abe 8031067: java/util/concurrent/atomic/AtomicUpdaters.java: java.lang.Error: Unexpected reflective access
Ensure that the test is not influenced by the default users policy.

Reviewed-by: martin
2014-01-07 11:34:59 +00:00
Paul Sandoz
4d62c07baa 8031306: Incorrect bug id on tests
Reviewed-by: chegar
2014-01-07 11:33:22 +01:00
Paul Sandoz
b3ff3362d2 8031187: DoubleStream.count is incorrect for a stream containing > Integer.MAX_VALUE elements
Reviewed-by: darcy
2014-01-07 11:15:11 +01:00
Peter Levart
1403c7fe08 8030801: SocketHandler(host, port) requires permission ("java.util.logging.LoggingPermission" "control")
8029781: Theoretical data race on java.util.logging.Handler.sealed

Use privileged actions instead of racy boolean field to elevate privilege when constructing logging handlers

Reviewed-by: mchung, dfuchs
2014-01-07 09:54:16 +01:00
Joe Darcy
48ce9464b0 8031651: Remove unneeded -source and -target flags in jdk repo regression tests
Reviewed-by: dfuchs, mullan
2014-01-14 10:08:24 -08:00
Aleksei Efimov
e03b5f15ed 8025051: Update resource files for TimeZone display names
Reviewed-by: okutsu, mfang
2013-12-30 16:46:55 +04:00
Joe Darcy
398131c8a7 8030212: Several api.java.util.stream tests got "NaN" value instead of "Infinity" or "-Infinity"
Reviewed-by: mduigou, psandoz
2014-01-03 10:38:23 -08:00
Daniel Fuchs
39db63b1df 8030850: Setting .level=FINEST in logging configuration file doesn't work
SetLevel(INFO) was called too early on root logger, causing the value found in configuration file to be later ignored.

Reviewed-by: mchung
2013-12-22 11:20:07 +01:00
Daniel Fuchs
2be7f4fdda 8030187: TEST_BUG: java/util/logging/Logger/setResourceBundle/TestSetResourceBundle.java failing again
Yet another issue with Loggers being gc'ed too early.

Reviewed-by: mchung
2013-12-20 14:53:38 +01:00
Daniel Fuchs
c090f3f331 8030192: TESTFAIL: java/util/logging/TestLoggerBundleSync.java failed with NPE
This is a test bug - loggers held in local variables can be arbitrarily gc'ed if that variable is no longer used. The fix makes sure that the loggers won't be arbitrarily gc'ed before the test is complete.

Reviewed-by: mchung
2013-12-19 14:53:10 +01:00
Mike Duigou
3639b2e546 8029795: LinkedHashMap.getOrDefault() doesn't update access order
Reviewed-by: psandoz
2013-12-17 09:36:59 -08:00
Mike Duigou
5b90fb7e5e 8029055: Map.merge implementations should refuse null value param
Reviewed-by: briangoetz, dl
2013-12-13 13:34:55 -08:00
Mike Duigou
1e845ac91f 8030016: HashMap.computeIfAbsent generates spurious access event
Reviewed-by: psandoz, bchristi
2013-12-13 13:35:35 -08:00
Alan Bateman
00b823a27a 8029805: Remove LogManager addPropertyChangeListener and removePropertyChangeListener methods
8029806: Remove Packer/Unpacker addPropertyChangeLister and removePropertyListener methods

Reviewed-by: dfuchs, tbell, mchung, ihse
2013-12-15 08:11:41 +00:00
Dan Xu
f9b9d83582 8022219: Intermittent test failures in java/util/zip/ZipFile
Reviewed-by: alanb, chegar
2013-12-14 16:37:49 -08:00
Paul Sandoz
7546938fc2 8031428: CountTest causes lambda Ser/Derialization tests to fail
Reviewed-by: chegar
2014-01-10 16:17:34 +01:00
Daniel Fuchs
078338ed6a 8031068: java/util/logging/ParentLoggersTest.java: checkLoggers: getLoggerNames() returned unexpected loggers
The test was not keeping any strong reference on the loggers it created allowing for them to be garbage collected too early.

Reviewed-by: mchung, chegar
2014-01-10 15:51:24 +01:00
Doug Lea
1c59527f70 8028564: Concurrent calls to CHM.put can fail to add the key/value to the map
Reviewed-by: psandoz, chegar, alanb
2013-12-05 09:44:53 +01:00
Paul Sandoz
8fb00644a9 8029164: Race condition in CompletableFuture.thenCompose with asynchronous task
Reviewed-by: dl, chegar, mduigou
2013-12-04 10:27:50 +01:00
Xueming Shen
591834e28d 8028397: Undo the lenient MIME BASE64 decoder support change (JDK-8025003) and remove methods de/encode(buf, buf)
Updated the spec and implementation as requested

Reviewed-by: alanb
2013-12-03 17:44:31 -08:00
Daniel Fuchs
2c97b5c5cb 8029281: Synchronization issues in Logger and LogManager
Fixes several race conditions in logging which have been at the root cause of intermittent test failures.

Reviewed-by: mchung, plevart
2013-12-04 01:58:37 +01:00
Joe Darcy
3eafe5802b 8006572: DoubleStream.sum() & DoubleSummaryStats implementations that reduce numerical errors
Reviewed-by: psandoz, mduigou
2013-12-01 23:35:28 -08:00
Naoto Sato
a372dd2082 8028771: regression test java/util/Locale/LocaleProviders.sh failed
Reviewed-by: alanb
2013-11-27 10:01:08 -08:00
Lana Steuck
33cd414e58 Merge 2013-11-25 09:40:25 -08:00
Lana Steuck
1a633e63a9 Merge 2013-11-15 07:14:23 -08:00
Alan Bateman
bc63be15f2 8028734: test/java/util/Locale/InternationalBAT.java changes does not restore the default TimeZone
Reviewed-by: naoto
2013-11-20 21:34:47 +00:00
Daniel Fuchs
c430720e0a 8005202: java/util/logging/CheckLockLocationTest.java fail on solars_10
This test has been seen failing on Solaris 10, presumably because it was run as root. The fix will skip the non-writable case if it can't make a non-writable dir.

Reviewed-by: mchung
2013-11-19 22:28:12 +01:00
Daniel Fuchs
f1917fec5d 8028185: XMLFormatter.format emits incorrect year
Fixes a regression where the year in the date was increased by 1900.

Reviewed-by: alanb, mchung
2013-11-19 20:10:58 +01:00
Xueming Shen
dc1dba10e7 8028321: Fix for String.split() empty input sequence/JDK-6559590 triggers regression
To undo the change for 6559590

Reviewed-by: darcy
2013-11-13 22:22:28 -08:00
Xueming Shen
4208726b35 8027645: Pattern.split() with positive lookahead
6559590: Pattern.compile(".*").split("") returns incorrect result

Updated spec/impl for these two corner cases

Reviewed-by: alanb, psandoz
2013-11-13 11:26:01 -08:00