Commit Graph

580 Commits

Author SHA1 Message Date
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
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
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