Commit Graph

621 Commits

Author SHA1 Message Date
Naoto Sato
72fb4c3adf 8039317: Read currency.data as a resource
Reviewed-by: alanb, chegar
2014-06-26 10:48:43 -07:00
Mike Duigou
6c860a781a 8047795: Collections.checkedList checking bypassed by List.replaceAll
Reviewed-by: psandoz, chegar
2014-06-25 12:36:03 -07:00
Martin Buchholz
a5943eeeae 8004807: java/util/Timer/Args.java failing intermittently in HS testing
Update test to improve reliability

Reviewed-by: rriggs, ewang
2014-06-10 08:07:39 -07:00
Mike Duigou
a76e39b79f 8046085: inserting null key into HashMap treebin fails
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Reviewed-by: dl, mduigou, alanb, chegar
2014-06-06 14:23:08 -07:00
Ivan Gerasimov
a9f575446d 8037866: Replace the Fun class in tests with lambdas
Reviewed-by: martin
2014-06-02 19:49:57 +04:00
Joe Wang
91d9371566 8043592: The basic XML parser based on UKit fails to read XML files encoded in UTF-16BE or LE
Reviewed-by: sherman, lancea
2014-05-27 17:26:52 -07:00
Ivan Gerasimov
73995e8591 8043476: java/util/BitSet/BSMethods.java failed with: java.lang.OutOfMemoryError: Java heap space
Reviewed-by: alanb
2014-05-26 19:59:28 +04:00
Alan Bateman
3b959b9adf 8043119: (props) Properties.storeToXML closes output stream
Reviewed-by: lancea
2014-05-14 16:40:53 +01:00
Alan Bateman
51093931dc 8042889: (props) Properties.loadFromXML/storeToXML should consistently use the UKit parser
Reviewed-by: joehw, chegar, mchung
2014-05-13 11:03:25 +01:00
Yuka Kamiya
b597db519c 8042360: Subtag syntax check is incomplete in Locale.LanguageRange
Reviewed-by: naoto, okutsu
2014-05-08 08:22:25 +09:00
Paul Sandoz
b6182243e5 8042355: stream with sorted() causes downstream ops not to be lazy
Reviewed-by: mduigou
2014-05-06 10:29:59 +02:00
Ivan Gerasimov
c1e26ac310 8040806: BitSet.toString() can throw IndexOutOfBoundsException
Reviewed-by: plevart, mduigou
2014-05-06 10:28:48 +04:00
Mike Duigou
673910ef2f 8037097: Improve diagnosability of test failures for java/util/Arrays/Correct.java
Reviewed-by: mchung, alanb
2014-03-11 15:25:45 -07:00
Sean Coffey
c34e0869d0 8038491: Improve synchronization in ZipFile.read()
Reviewed-by: alanb, chegar
2014-04-10 20:01:52 +01:00
Jeremy Manson
55d8dc5d85 8039124: j.u.regex.Matcher.appendReplace/Tail() should support StringBuilder variant
To add the StringBuilder variant

Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: alanb, sherman
2014-04-09 09:36:19 -07:00
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