839 Commits

Author SHA1 Message Date
Amy Lu
ff93fd2cce 8042003: Update java/lang/Math tests to eliminate dependency on sun.misc.DoubleConsts and sun.misc.FloatConsts
Reviewed-by: mchung, darcy
2014-08-22 14:56:09 -07:00
Martin Buchholz
15aa55d99e 8055675: java/util/Currency/PropertiesTest.sh fails on OS X after JDK-8055253
Replace obsolescent cp -r with cp -R.  Add more error checks.

Reviewed-by: naoto
2014-08-20 11:06:38 -07:00
Amy Lu
f9c8748b48 8055262: Update jdk/test/java/util/Base64 tests to remove use of sun.misc.BASE64Encoder/Decoder
Reviewed-by: mchung, sherman
2014-08-19 12:26:34 -07:00
Daniel Fuchs
f0133ac1a0 8052403: java/util/logging/CheckZombieLockTest.java fails with NoSuchFileException
CheckZombieLockTest and CheckLockLocationTest should work with different temporary log directories so that they can be run concurrently. This fix changes the name of the log directory used by CheckZombieLockTest.

Reviewed-by: mchung
2014-08-19 17:11:28 +02:00
Martin Buchholz
0613e548bb 8055253: test/java/util/Currency/PropertiesTest.sh modifies the test JDK
Always make a temp copy of the test JDK before destructively modifying

Reviewed-by: naoto, alanb
2014-08-18 21:06:45 -07:00
Daniel Fuchs
15a875a7a5 8054480: Test java/util/logging/TestLoggerBundleSync.java fails: Unexpected bundle name: null
This is due to a race condition in the test where one GetRB thread can receive a stale LogRecord comming from another GetRB thread.

Reviewed-by: dholmes
2014-08-14 15:18:11 +02:00
Ivan Gerasimov
b79daf9354 8054221: StringJoiner imlementation optimization
Reviewed-by: martin
2014-08-07 15:07:33 +04:00
Masayoshi Okutsu
d84a697aad 8048123: Replace calendars.properties with another mechanism to specify a new Japanese calendar era
Reviewed-by: naoto, alanb
2014-08-07 13:04:26 +09:00
Chris Hegarty
343fd87ea8 8053938: Collections.checkedList(empty list).replaceAll((UnaryOperator)null) doesn't throw NPE after JDK-8047795
Reviewed-by: rriggs, mduigou
2014-07-30 17:42:18 +01:00
Mike Duigou
ab68202313 8048209: Collections.synchronizedNavigableSet().tailSet(Object,boolean) synchronizes on wrong object
Reviewed-by: psandoz, chegar
2014-07-24 09:01:00 -07:00
Claes Redestad
23f341125f 8006627: UUID to/from String performance should be improved by reducing object allocations
Co-authored-by: Steven Schlansker <stevenschlansker@gmail.com>
Reviewed-by: mduigou, plevart
2014-07-21 23:07:40 +02:00
Paul Sandoz
7a0238bfd3 8044047: Missing null pointer checks for streams
Co-authored-by: Ivan Gerasimov <ivan.gerasimov@oracle.com>
Reviewed-by: dfuchs
2014-07-16 14:35:48 +02:00
Ivan Gerasimov
e03728427a 8035975: Pattern.compile(String, int) fails to throw IllegalArgumentException
Reviewed-by: sherman
2014-07-16 13:02:24 +04:00
Ivan Gerasimov
1203c8ea34 6904367: (coll) IdentityHashMap is resized before exceeding the expected maximum size
Reviewed-by: plevart, martin
2014-07-12 04:15:56 +04:00
Daniel Fuchs
7c04b45666 8048913: java/util/logging/LoggingDeadlock2.java times out
Removes the /timeout=15 parameter from the @run command line

Reviewed-by: mchung, dholmes
2014-07-09 17:51:50 +02:00
Daniel Fuchs
44470419c0 8048020: Regression on java.util.logging.FileHandler
In some circumstances j.u.l.FileHandler can leave zombie lock files on the file system. The fix lets FileHandler reuse such zombie lock files when it sees them - as it used to do in version 1.7 of the JDK.

Reviewed-by: alanb
2014-07-07 15:31:07 +02:00
Martin Buchholz
b6e211ab64 8048990: ZipFile.entries() can't handle empty zip entry names
GetEntryBytes should never return null pointer for entry names

Reviewed-by: sherman
2014-07-02 10:21:23 -07:00
Mike Duigou
efbff37c1a 8048207: Collections.checkedQueue.offer() calls add on wrapped queue
Reviewed-by: psandoz
2014-06-27 10:26:39 -07:00
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