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
Daniel Fuchs
59ca72f0eb
8059767: FileHandler should allow 'long' limits and handle overflow of MeteredStream.written
...
FileHandler now uses 'long' for limit and MeteredStream.written. It also reads a long for limit from the configuration, and has a new constructor allowing to pass a 'long' for limit.
Reviewed-by: alanb, igerasim, mchung
2014-10-22 17:23:14 +02:00
Martin Buchholz
72f7a2a671
8062194: java.util.jar.Attributes should use insertion-ordered iteration
...
S/HashMap/LinkedHashMap/g
Reviewed-by: alanb, sherman
2014-10-27 16:24:43 -07:00
Chris Hegarty
1a2e64b98b
8060052: FutureTask; fix underflow when timeout = Long.MIN_VALUE
...
Reviewed-by: martin
2014-10-11 14:45:27 +01:00
Amy Lu
9b4793ec4c
8058855: Update java.util.zip tests to work with modular image
...
Reviewed-by: dholmes, sherman, alanb
2014-10-11 13:24:23 +01:00
Daniel Fuchs
9183fba213
8028788: Logger.enterring uses String concatenation in a loop
...
Changed code to use StringBuilder instead.
Reviewed-by: chegar, lancea
2014-10-07 14:49:45 +02:00
Daniel Fuchs
7200372290
8025690: Default FileHandler constructor doesn't throw NullPointerException if pattern is empty and count > 1
...
Added additional check in default constructor in order to fix the oddity and make the implementation comply with the spec.
Reviewed-by: lancea
2014-10-01 18:16:45 +02:00
Daniel Fuchs
9087c7536e
8059269: FileHandler may throw NPE if pattern is a simple name and the lock file already exists
...
NPE may be thrown when Path.getParentPath() returns null. The fix is to call Path.getAbsolutePath().getParentPath() when Path.getParentPath() returns null.
Reviewed-by: alanb
2014-09-29 18:56:32 +02:00
Daniel Fuchs
0a6f6d9d89
8043306: Provide a replacement for the API that allowed to listen for LogManager configuration changes
...
Added two new methods to LogManager (addConfigurationListener/removeConfigurationListener) which provide an equivalent functionality with no ties to java.beans.
Reviewed-by: alanb, mchung, plevart, psandoz
2014-09-26 11:29:29 +02:00
Martin Buchholz
3951dda4cf
8056934: ZipInputStream does not correctly handle local header data descriptors with the optional signature missing
...
Fix off-by-one bug in EXTSIG handling; add docs.
Reviewed-by: sherman, alanb
2014-08-29 12:07:11 -07:00
Yong Jeffrey Huang
95232def75
8055222: ISO 4217 Amendment #159
...
Reviewed-by: naoto
2014-09-04 00:32:43 -07:00
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
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
Mandy Chung
d26c11b9d7
8028234: Remove unused methods in sun.misc.JavaAWTAccess
...
Reviewed-by: art, dfuchs, lancea
2013-11-13 07:49:42 -08:00
Daniel Fuchs
e0c1c25d70
8026952: Test java/util/logging/LogManager/RootLogger/setLevel/TestRootLoggerLevel.java has wrong @bug id
...
Trivial: change @bug 8023163 into @bug 8026499
Reviewed-by: mchung, alanb
2013-11-13 10:50:30 +01:00
Sergey Bylokhov
9ab430a0d2
8027696: Incorrect copyright header in the tests
...
Reviewed-by: alanb, malenkov, mullan
2013-11-12 20:24:25 +04:00
Xueming Shen
f952749e41
8026330: java.util.Base64 urlEncoder should omit padding
...
To add Encoder.withoutPadding()
Reviewed-by: alanb
2013-11-11 14:35:36 -08:00
Patrick Zhang
ee6dd6c873
8028044: [TEST_BUG] Calendar shell tests do not pass TESTVMOPTS
...
Reviewed-by: dholmes, alanb
2013-11-09 16:46:46 +00:00
Naoto Sato
e6f691aeb2
8027930: ResourceBundle test failures in fr locale
...
Reviewed-by: smarks
2013-11-07 10:03:38 -08:00
Paul Sandoz
fe6f3e2439
8027712: DistinctOpTest fails for unordered test
...
Reviewed-by: henryjen, alanb
2013-11-05 12:08:12 +01:00
Robert Field
ee1006e3bd
7194897: JSR 292: Cannot create more than 16 instances of an anonymous class
...
8027681: Lambda serialization fails once reflection proxy generation kicks in
Co-authored-by: Joel Borggren-Franck <joel.franck@oracle.com>
Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Reviewed-by: ksrini, briangoetz, jfranck
2013-11-04 10:12:18 -08:00
Tristan Yan
bd40c9b63d
8025198: Intermittent test failure: java/util/concurrent/ThreadPoolExecutor/ThrowingTasks.java
...
Reviewed-by: martin, dholmes
2013-11-04 06:58:30 -05:00
Paul Sandoz
894f3788d3
8027316: Distinct operation on an unordered stream should not be a barrier
...
Reviewed-by: henryjen, mduigou, briangoetz
2013-10-31 11:59:04 +01:00
Brian Goetz
aee0b5cf88
8027318: Lambda Metafactory: generate serialization-hostile read/writeObject methods for non-serializable lambdas
...
Reviewed-by: rfield, psandoz
2013-10-29 12:31:27 -04:00
Daniel Fuchs
482f3cc1b9
8026863: regression in anonymous Logger.setParent method
...
Restore behaviour of setParent in anonymous logger and clarifies the spec with respect to security permissions.
Reviewed-by: mchung, prr
2013-10-28 10:52:07 +01:00
Xueming Shen
a06b63065d
8025003: Base64 should be less strict with padding
...
Updated spec and implementation of mime decoder to be lenient for padding
Reviewed-by: alanb
2013-10-24 11:12:59 -07:00
Alan Bateman
e1c6970bd6
8026344: j.u.c.a *Adder and *Accumulator extend a package private class that is Serializable
...
Co-authored-by: Doug Lea <dl@cs.oswego.edu>
Reviewed-by: rriggs, psandoz, chegar
2013-10-24 13:24:32 +01:00
Mike Duigou
96e2b92fb1
8024688: further split Map and ConcurrentMap defaults eliminating looping from Map defaults, Map.merge fixes and doc fixes
...
Reviewed-by: psandoz, dholmes
2013-10-23 14:32:41 -07:00
Weijun Wang
9132d85a65
8027026: Change keytool -genkeypair to use -keyalg RSA
...
Reviewed-by: alanb, chegar, mullan
2013-10-23 08:32:03 +08:00
Daniel Fuchs
2f8b3bf80a
8026499: Root Logger level can be reset unexpectedly
...
This fix prevents the logger's level to be re-initialized if it has already been initialized.
Reviewed-by: mchung
2013-10-21 12:00:58 +02:00
Daniel Fuchs
d6fdb0a571
8016344: (props) Properties.storeToXML behaviour has changed from JDK 6 to 7
...
When storing Properties to XML only locally defined properties must be saved.
Reviewed-by: psandoz, mchung, alanb
2013-10-21 11:15:41 +02:00
Ivan Gerasimov
62105105d7
8026756: Test java/util/zip/GZIP/GZIPInZip.java failed
...
Reviewed-by: alanb
2013-10-18 16:06:20 +04:00
Xueming Shen
73ccbeb833
8025971: Remove ZoneId.OLD_SHORT_IDS
...
8026197: Slow reading tzdb.dat if the JRE is on a high-latency, remote file system
Removed the compatiblity old short-ids mapping
Reviewed-by: okutsu
2013-10-17 23:43:08 -07:00
Doug Lea
3f1d887049
8004138: ForkJoinTask leaks exceptions
...
Reviewed-by: chegar, mduigou, psandoz, martin
2013-10-17 12:43:32 -07:00
Yuka Kamiya
26af18b426
8025703: Update LSR datafile for BCP 47
...
Reviewed-by: okutsu
2013-10-17 13:57:42 +09:00
Mike Duigou
f1e20eb482
8025910: rename substream(long) -> skip and remove substream(long,long)
...
Reviewed-by: psandoz, henryjen
2013-10-16 13:03:58 -07:00
Daniel Fuchs
9ef30e9ae7
8013839: Enhance Logger API for handling of resource bundles
...
4814565: (rb) add method to get basename from a ResourceBundle
Adds Logger.setResourceBundle(ResourceBundle) and ResourceBundle.getBaseBundleName()
Reviewed-by: mchung, naoto
2013-10-16 20:47:30 +02:00
Ivan Gerasimov
71f3325481
8023431: Test java/util/zip/GZIP/GZIPInZip.java failed
...
Properly close PipedStreams. Additional testing for malformed input
Reviewed-by: darcy, sherman
2013-10-15 21:15:17 +04:00
Chris Hegarty
3486abb2c7
Merge
2013-10-15 13:54:01 +01:00
Daniel Fuchs
c630cf1e68
8026404: Logging in Applet can trigger ACE: access denied ("java.lang.RuntimePermission" "modifyThreadGroup")
...
The test 'threadGroup.getParent() == null' can sometimes throw ACE and needs to be wrapped in doPrivileged.
Reviewed-by: alanb, mchung, dholmes
2013-10-15 13:01:28 +02:00
Chris Hegarty
766e77499d
Merge
2013-10-15 09:27:32 +01:00
Brent Christian
5edd3cbdfe
8024709: TreeMap.DescendingKeyIterator 'remove' confuses iterator position
...
Override remove() method in DescendingKeyIterator
Reviewed-by: alanb, mduigou, psandoz
2013-10-09 12:13:31 -07:00
Brian Burkhalter
4ee6d9bd3a
8016252: More defensive HashSet.readObject
...
Add data validation checks in readObject().
Reviewed-by: alanb, mduigou, chegar
2013-10-09 11:47:48 -07:00
Chris Hegarty
6088b141e2
Merge
2013-10-03 19:06:43 +01:00
Mandy Chung
18f83d0a7c
8026027: Level.parse should return the custom Level instance instead of the mirrored Level
...
Reviewed-by: dfuchs, chegar
2013-10-09 06:24:42 -07:00
Henry Jen
6a322383a8
8026009: Changes for 8025968 break all stream tests
...
Reviewed-by: mduigou
2013-10-07 15:18:37 -07:00
Henry Jen
1542ab6eef
8025968: Integrate test improvements made in lambda repo
...
Reviewed-by: psandoz
2013-10-07 11:25:56 -07:00
Brent Christian
587ef317c6
8025173: HashMap.put() replacing an existing key can trigger a resize()
...
Ensure that HashMap is not resized if we're just replacing a value
Reviewed-by: alanb, martin
2013-09-26 11:13:34 -07:00
Daniel Fuchs
ddddd1d31f
8025140: TEST_BUG: java/util/logging/Logger/getGlobal tests fail due to timeout
...
Arbitrary timeouts in the tests @run lines where too agressive for some configurations. The tests will now run with default timeout.
Reviewed-by: alanb, mchung
2013-09-25 09:47:24 +02:00
Chris Hegarty
18f0e54e81
Merge
2013-09-06 09:41:21 +01:00
Chris Hegarty
369c079b32
Merge
2013-08-30 09:37:29 +01:00
Paul Sandoz
57f84d8637
8024341: j.u.regex.Pattern.splitAsStream() doesn't correspond to split() method if using an example from the spec
...
Reviewed-by: alanb
2013-09-20 17:11:32 -07:00
Brian Burkhalter
ca9e74c63d
8024331: j.u.Map.computeIfPresent() default/nondefault implementations don't throw NPE if the remappingFunction is null and the key is absent
...
Explicitly check for null remappingFunction parameter.
Reviewed-by: mduigou, forax, psandoz
2013-09-20 15:12:05 -07:00
Doug Lea
851fd0447e
8024253: ThreadLocal random can use SecureRandom for the initial seed
...
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Co-authored-by: Guy Steele <guy.steele@oracle.com>
Reviewed-by: psandoz, chegar, alanb
2013-09-20 11:07:06 -07:00
Paul Sandoz
0f59d418d8
8024405: Spliterators.spliterator should support CONCURRENT characteristic
...
Reviewed-by: martin
2013-09-19 20:41:54 -07:00
Paul Sandoz
4df3876c56
8024837: Rename java/util/concurrent/ConcurrentHashMap/toArray.java to ToArray.java
...
Reviewed-by: alanb
2013-09-15 16:13:41 +02:00
Paul Sandoz
bef51c4a08
8010293: java/util/concurrent/ConcurrentHashMap/toArray.java fails intermittently
...
Co-authored-by: Doug Lea <dl@cs.oswego.edu>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: forax, chegar, alanb
2013-09-02 11:59:57 +02:00
Mike Duigou
b59dc6762e
8021591: Additional explicit null checks
...
Reviewed-by: psandoz, alanb
2013-09-13 11:18:44 -07:00
Brent Christian
276b809ff4
8024009: Remove jdk.map.useRandomSeed system property
...
Removed usage of hashSeed in Hashtable & WeakHashMap, and removed tests
Reviewed-by: alanb, mduigou
2013-09-12 14:22:53 -07:00
Daniel Fuchs
f0317e41c1
8024525: Make Logger log methods call isLoggable()
...
This changeset makes the various Logger logging method call isLoggable() instead of inlining the level checks.
Reviewed-by: mchung, alanb
2013-09-12 17:01:39 +02:00
Henry Jen
b83654dad2
8024500: Missing API coverage for java.util.function.BiFunction andThen
...
Reviewed-by: mduigou, alanb
2013-09-11 11:25:14 -07:00
Daniel Fuchs
33dbc2d51c
8023168: Cleanup LogManager class initialization and LogManager/LoggerContext relationship
...
8021003: java/util/logging/Logger/getGlobal/TestGetGlobalConcurrent.java fails intermittently
8019945: test/java/util/logging/LogManagerInstanceTest.java failing intermittently
This fix untangles the class initialization of Logger and LogManager, and also cleans up the relationship between LogManager, LoggerContext, and Logger, which were at the root cause of some intermittent test failures.
Reviewed-by: mchung, martin, plevart
2013-09-09 13:59:51 +02:00
Daniel Fuchs
a0c3d88fba
8019853: Break logging and AWT circular dependency
...
Break logging and AWT circular dependency, which was at the root cause for 8023258 - Logger.getLogger() after ImageIO.read() returns different logger instance
Reviewed-by: mchung, art
2013-09-04 16:22:22 +02:00
Paul Sandoz
0fb014c2b3
8023463: Improvements to HashMap/LinkedHashMap use of bins/buckets and trees (red/black)
...
8012913: LinkedHashMap key/value/entry spliterators should report ORDERED
Co-authored-by: Doug Lea <dl@cs.oswego.edu>
Reviewed-by: mduigou, forax, bchristi, alanb
2013-09-04 09:34:25 +02:00
Paul Sandoz
6c97499183
8023155: Ensure functional consistency across Random, ThreadLocalRandom, SplittableRandom
...
Co-authored-by: Doug Lea <dl@cs.oswego.edu>
Reviewed-by: mduigou
2013-08-28 22:11:14 +02:00
Xueming Shen
54b7d41e69
8023713: ZipFileSystem crashes on old zip file
...
To handle extra data field copy correctly even the extra data does not follow the spec
Reviewed-by: alanb, martin, chegar
2013-08-28 09:46:55 -07:00
Paul Sandoz
1604846c44
8025567: Mark relevant public stream tests as serialization hostile
...
Reviewed-by: alanb
2013-10-03 10:59:51 +02:00
Paul Sandoz
7ee60c366e
8025535: Unsafe typecast in java.util.stream.SortedOps
...
Reviewed-by: mduigou, chegar
2013-10-01 18:20:03 +02:00
Masayoshi Okutsu
824b25cc94
6902861: (cal) GregorianCalendar roll WEEK_OF_YEAR is broken for January 1 2010
...
Reviewed-by: peytoia
2013-10-02 15:31:35 +09:00
Mike Duigou
bf70514208
8025067: Unconditionally throw NPE if null op provided to Arrays.parallelPrefix
...
Reviewed-by: henryjen, chegar, psandoz
2013-10-01 10:23:00 -07:00
Paul Sandoz
223c6bf379
8024408: Specifications for Collection/List/Set/SortedSet.spliterator() need to document if all the (subclass) instances are required to return SIZED spliterators
...
Reviewed-by: alanb
2013-10-01 12:19:20 +02:00
Paul Sandoz
ea739968d2
8023339: Refined Collection.removeIf UOE conditions
...
Reviewed-by: mduigou
2013-09-27 13:30:31 -07:00
Mike Duigou
e68f7e9564
8025595: Remove alt-rt.jar, used by +AggressiveOps (jdk repo portion of JDK-8024826)
...
Reviewed-by: alanb, chegar, dholmes, ksrini
2013-09-27 10:21:04 -07:00
Henry Jen
1d19a4f5df
8023528: Rename Comparator combinators to disambiguate overloading methods
...
Reviewed-by: mduigou, smarks
2013-08-21 20:41:35 -07:00
Xueming Shen
d912aa501e
8023647: "abc1c".matches("(\\w)+1\\1")) returns false
...
To correct the wrong GroupCurly group index backoff code
Reviewed-by: alanb
2013-08-27 12:54:44 -07:00
Henry Jen
b87db568f0
8023275: Wrapping collections should override default methods
...
Reviewed-by: mduigou, psandoz
2013-08-26 22:32:50 -07:00
Paul Sandoz
231a351a47
8020292: j.u.SplittableRandom
...
Co-authored-by: Guy Steele <guy.steele@oracle.com>
Co-authored-by: Doug Lea <dl@cs.oswego.edu>
Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Reviewed-by: mduigou
2013-08-26 22:55:03 +02:00
Roger Riggs
e0b682f2d8
8011944: Sort fails with ArrayIndexOutOfBoundsException
...
Increase the size of pending stack and add test cases
Reviewed-by: alanb
2013-08-26 11:46:05 -04:00
Doug Lea
56dbd896c3
8023234: StampedLock serializes readers on writer unlock
...
Sync-up the fix from jsr166 CVS, signal more readers on writer unlock
Reviewed-by: martin, shade
2013-08-26 17:50:34 +04:00
Daniel Fuchs
6d2de008d7
8005899: Logger.getLogger(name, null) should not allow to reset a non-null resource bundle
...
Reviewed-by: mchung, lancea
2013-08-23 20:59:34 +02:00
Ben Evans
c9443a8346
8016846: Pattern.splitAsStream tests required
...
Reviewed-by: alanb, psandoz
2013-08-20 14:23:32 -07:00
Paul Sandoz
906bb894db
8023367: Collections.emptyList().sort((Comparator)null) throws NPE
...
Reviewed-by: alanb, mduigou
2013-08-20 17:36:15 +02:00
Chris Hegarty
60e31c0960
Merge
2013-08-15 21:44:35 +01:00
Paul Sandoz
1f2ba9f228
8024182: test/java/util/Arrays/SetAllTest.java fails to compile due to recent compiler changes
...
Use explicit lambda due to javac simplfying rules for overload resolution with implicit lambdas
Reviewed-by: alanb, mduigou
2013-08-12 12:22:10 +02:00
Brian Goetz
7bc062de1d
8017513: Support for closeable streams
...
8022237: j.u.s.BaseStream.onClose() has an issue in implementation or requires spec clarification
8022572: Same exception instances thrown from j.u.stream.Stream.onClose() handlers are not listed as suppressed
BaseStream implements AutoCloseable; Remove CloseableStream and DelegatingStream
Reviewed-by: alanb, mduigou, psandoz
2013-09-03 12:16:01 -07:00
Daniel Fuchs
b81e7785d1
8016127: NLS: logging.properties translatability recommendation
...
8024131: Issues with cached localizedLevelName in java.util.logging.Level
This fix updates logging.properties resource bundles to follow internationalization guidelines. It also fixes a caching issue with localizedLevelName. The regression test that was added needs both fixes to pass.
Reviewed-by: mchung, alanb
2013-09-02 18:28:50 +02:00
Chris Hegarty
533cdad97a
Merge
2013-08-09 14:43:19 +01:00
Alan Bateman
5d38b44a3e
8023215: test/java/util/Comparator/TypeTest.java not running (failing but reported as passing)
...
Reviewed-by: psandoz
2013-08-19 11:04:21 +01:00
Paul Sandoz
ea67b80891
8022898: java/util/Spliterator/SpliteratorCollisions.java fails in HashableIntSpliteratorWithNull data provider
...
Reviewed-by: henryjen, alanb, rriggs
2013-08-16 12:46:39 +02:00
Paul Sandoz
772a828f73
8012940: More than 50 tests failed in Serialization/DeSerialization testing (test-mangled)
...
Reviewed-by: ksrini
2013-08-16 12:46:30 +02:00
Paul Sandoz
3c90e54214
8023150: java/util/stream tests no longer compiling following JDK-8019401
...
Reviewed-by: alanb
2013-08-16 12:29:58 +02:00
Brian Goetz
4030ed819b
8019401: Collectors.collectingAndThen
...
Reviewed-by: mduigou
2013-08-12 12:06:50 -04:00
Yong Jeffrey Huang
e87a2bddaf
8021121: ISO 4217 Amendment Number 156
...
Reviewed-by: naoto
2013-08-14 22:49:54 -07:00
Daniel Fuchs
91e6f28796
8019948: java/util/logging/bundlesearch/ResourceBundleSearchTest.java is failing intermittently
...
Reviewed-by: mchung, dholmes
2013-08-13 16:00:44 +02:00
Amy Lu
10ba495eaf
8022779: ProblemList.txt updates (8/2013)
...
Update ProblemList and remove AggressiveOpts MOAT test run
Reviewed-by: chegar, alanb
2013-08-13 14:57:12 +01:00
Paul Sandoz
87efa706f1
8022326: Spliterator for values of j.u.c.ConcurrentSkipListMap does not report ORDERED
...
Reviewed-by: martin, chegar
2013-08-09 11:44:38 +02:00
Weijun Wang
0f81426896
8021788: JarInputStream doesn't provide certificates for some file under META-INF
...
Reviewed-by: chegar, sherman
2013-08-09 11:41:17 +08:00
Xueming Shen
dca36c08f3
8015666: test/tools/pack200/TimeStamp.java failing
...
To keep the default behavior of ZOS unchanged, if ze extra time not explicitly set
Reviewed-by: alanb, ksrini
2013-08-08 12:03:04 -07:00
Chris Hegarty
1bdfa7bf9f
Merge
2013-07-25 19:03:29 +01:00
Paul Sandoz
ee1343b38a
8021883: j.u.Random/RandomStream.java test needs more robust timeout duration
...
Reviewed-by: chegar
2013-07-30 14:03:25 +01:00
Paul Sandoz
980e8cff6f
8021863: Stream.concat incorrectly calculates unsized state
...
Reviewed-by: chegar
2013-07-30 11:32:26 +01:00
Henry Jen
e8e95eec3a
8020977: StringJoiner merges with itself not as expected
...
Reviewed-by: psandoz, chegar, mduigou, smarks
2013-07-30 15:47:35 -07:00
Paul Sandoz
ea8bc25763
8020156: TreeMap.values().spliterator() does not report ORDERED
...
8020009: TreeMap.entrySet().spliterator() reports SORTED + null comparator but the elements are not Comparable
Reviewed-by: mduigou
2013-07-29 19:41:02 +01:00
Mike Duigou
b9742daca7
8021601: Add unit test for PriorityQueue(Comparator) constructor
...
Reviewed-by: darcy, alanb
2013-07-26 17:23:20 -07:00
Masayoshi Okutsu
3d9f33759d
8001029: Add new date/time capability
...
Reviewed-by: mchung, hawtin
2013-07-19 12:14:34 +09:00
Brian Goetz
50a242e510
8020062: Nest StreamBuilder interfaces inside relevant Stream interfaces
...
Reviewed-by: psandoz, mduigou
2013-07-08 15:46:26 -04:00
Brian Goetz
ace3a4d196
8015320: Pull spliterator() up from Collection to Iterable
...
Reviewed-by: psandoz, mduigou
2013-07-12 15:01:08 -07:00
Paul Sandoz
c5fcef26c9
8019395: Consolidate StreamSupport.{stream,parallelStream} into a single method
...
Reviewed-by: henryjen, briangoetz
2013-07-03 21:43:49 +02:00
Brian Goetz
4e416d4714
8015315: Stream.concat methods
...
Co-authored-by: Henry Jen <henry.jen@oracle.com>
Reviewed-by: psandoz, mduigou
2013-07-12 12:15:22 -07:00
Brian Goetz
53edbe01cb
8015317: Optional.filter, map, and flatMap
...
Co-authored-by: Henry Jen <henry.jen@oracle.com>
Reviewed-by: psandoz, mduigou
2013-07-12 11:12:16 -07:00
Mike Duigou
c14b02d707
7129185: Add Collections.{checked|empty|unmodifiable}Navigable{Map|Set}
...
Reviewed-by: dmocek, martin, smarks
2013-07-12 11:11:30 -07:00
Paul Sandoz
b47a003232
8017447: Unmodifiable map entry becomes modifiable if taken from a stream of map entries
...
Reviewed-by: briangoetz
2013-07-10 09:52:02 +02:00
Shi Jun Zhang
2e28a006d8
8019381: HashMap.isEmpty is non-final, potential issues for get/remove
...
Reviewed-by: chegar, mduigou
2013-07-05 10:51:54 +08:00
Brian Goetz
fd97f9873a
8017231: Add StringJoiner.merge
...
Co-authored-by: Henry Jen <henry.jen@oracle.com>
Reviewed-by: psandoz, alanb
2013-07-04 20:00:20 +01:00
Paul Sandoz
355205b8a5
8017329: 8b92-lambda regression: TreeSet("a", "b").stream().substream(1).parallel().iterator() is empty
...
Reviewed-by: alanb
2013-07-03 21:19:25 +02:00
Daniel Fuchs
5f717a6674
7184195: java.util.logging.Logger.getGlobal().info() doesn't log without configuration
...
Due to subtle synchronization issues between LogManager & Logger class initialization the global logger doesn't have its 'manager' field initialized until the LogManager is initialized. This fix will ensure that the global logger has its 'manager' field set when getGlobal() is called.
Reviewed-by: mchung, plevart
2013-07-02 19:47:58 +02:00
Daniel Fuchs
677643324e
8017174: NPE when using Logger.getAnonymousLogger or LogManager.getLogManager().getLogger
...
This patch makes sure that LoggerContext instances created for applets have a root and global logger.
Reviewed-by: mchung
2013-07-02 11:30:31 +02:00
Brian Goetz
e11ec149ce
8015318: Extend Collector with 'finish' operation
...
Reviewed-by: mduigou
2013-06-28 16:26:54 -04:00
Brian Burkhalter
2c31d993a4
6476168: (fmt) Inconsistency formatting subnormal doubles with hexadecimal conversion
...
Update specification to match implementation.
Reviewed-by: darcy
2013-07-31 10:53:33 -07:00
Doug Lea
b1a10b8ed7
8020291: j.u.c.CompletionStage
...
8020435: CompletableFuture/Basic.java fails on single core machine
Reviewed-by: chegar, psandoz
2013-08-02 14:29:31 +01:00