2228 Commits

Author SHA1 Message Date
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
Joel Borggrén-Franck
d4b28471ff 8022343: j.l.Class.getAnnotatedSuperclass() doesn't return null in some cases
Reviewed-by: darcy, vromero, psandoz
2013-08-26 13:38:14 +02:00
Ivan Gerasimov
910d9b815c 7129312: BufferedInputStream calculates negative array size with large streams and mark
Reviewed-by: alanb
2013-08-25 23:20:59 +04:00
Brian Burkhalter
6c5c2d745a 6378503: In java.math.BigDecimal, division by one returns zero
6446965: Using BigDecimal.divideToIntegralValue with extreme scales can lead to an incorrect result

Fix overflow of ints and ensure appropriate values passed to checkScaleNonZero()

Reviewed-by: darcy, martin
2013-08-23 14:15:54 -07: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
Brian Burkhalter
ff7c51cd18 6470700: Math.random() / Math.initRNG() uses "double checked locking"
Replace class Random variable with a static final holder class

Reviewed-by: alanb, mduigou, chegar
2013-08-22 13:32:22 -07:00
Stuart Marks
edd19c0f39 8022445: fix RMISocketFactory example to avoid using localhost
Reviewed-by: chegar, alanb
2013-08-22 15:54:50 -07:00
Joe Darcy
b3961cb6be 8023587: Fix lone remaining doclint issue in java.util.regex
Reviewed-by: jjg
2013-08-22 09:40:36 -07:00
Mike Duigou
8a3c65febe 8023306: Add replace() implementations to TreeMap
Reviewed-by: psandoz, alanb, chegar, bpb
2013-08-21 12:03:19 -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
Xue-Lei Andrew Fan
2e2313ef87 8020842: IDN do not throw IAE when hostname ends with a trailing dot
Reviewed-by: weijun, michaelm
2013-08-19 17:42:39 -07:00
Dan Xu
aa90f3b312 8023203: Wrap RandomAccessFile.seek native method into a Java helper method
Reviewed-by: alanb, chegar
2013-08-19 12:38:56 -07:00
Paul Sandoz
7647c6e6a1 8014824: Document Spliterator characteristics and binding policy of java util collection impls
Reviewed-by: chegar
2013-08-06 14:26:34 +01:00
Paul Sandoz
b42c6fb241 8022318: Document Spliterator characteristics and binding policy of java util concurrent collection impls
Co-authored-by: Martin Buchholz <martinrb@google.com>
Reviewed-by: chegar
2013-08-06 14:26:34 +01:00
Roger Riggs
63de7b9fd0 8019185: Inconsistency between JapaneseEra start dates and java.util.JapaneseImperialDate
Align Meiji start date with lib/calendar.properties to avoid any confusion

Reviewed-by: sherman
2013-08-16 13:58:43 -04:00
Roger Riggs
b23fa14820 8022193: java/time/test/java/util/TestFormatter.java failed in th locale
Tests corrected to use fixed locale and not dependent on the environment

Reviewed-by: sherman
2013-08-16 11:11:00 -04:00
Paul Sandoz
e77f64d8dd 8022797: Clarify spliterator characteristics for collections containing no elements
Reviewed-by: alanb, mduigou
2013-08-13 11:16:37 +02:00
Brian Goetz
4030ed819b 8019401: Collectors.collectingAndThen
Reviewed-by: mduigou
2013-08-12 12:06:50 -04:00
Xueming Shen
bb69156c80 7154662: {CRC32, Adler32}.update(byte[] b, int off, int len): undocumented ArrayIndexOutOfBoundsException
To add the throws clause

Reviewed-by: alanb, chegar
2013-08-15 10:41:59 -07:00
Chris Hegarty
126c55f2cb 8022126: Remove throws SocketException from DatagramPacket constructors accepting SocketAddress
Reviewed-by: smarks, alanb, michaelm, darcy
2013-08-15 15:16:31 +01:00
Doug Lea
fc8b2309b8 8023104: ConcurrentHashMap typo
Reviewed-by: chegar, mduigou
2013-08-15 15:04:59 +01:00
Doug Lea
ad2505a669 8023103: FJ parallelism zero
8020537: java/util/concurrent/forkjoin/ThrowingRunnable.java

Reviewed-by: chegar, mduigou, alanb
2013-08-15 15:01:37 +01:00
Alan Bateman
9aceb41d6d 8022921: Remove experimental Profile attribute
Reviewed-by: mchung, chegar
2013-08-15 11:54:05 +01:00
Yong Jeffrey Huang
e87a2bddaf 8021121: ISO 4217 Amendment Number 156
Reviewed-by: naoto
2013-08-14 22:49:54 -07:00
Brian Burkhalter
10673cfe8c 8022109: Evaluate adding incrementExact, decrementExact, negateExact to java.lang.Math
Add the methods for parameter types int and long.

Reviewed-by: mduigou
2013-08-12 10:35:44 -07:00
Lana Steuck
d4db347ba0 Merge 2013-08-13 18:33:25 -07:00
Joe Darcy
42953c89cf 8022959: Fix new doclint issues in java.util.zip
Reviewed-by: chegar
2013-08-13 10:12:03 -07:00
Timothy Buktu
e3b61c033b 8022180: BigInteger Burnikel-Ziegler quotient and remainder calculation assumes quotient parameter is zero
Clear the quotient in divideAndRemainderBurnikelZiegler() if the divisor is larger than the dividend.

Reviewed-by: alanb, bpb
2013-08-12 16:21:10 -07:00
Lance Andersen
d12a32baab 8022753: SQLXML javadoc example typo
Reviewed-by: alanb, mchung
2013-08-12 16:09:24 -04:00
Doug Lea
b377e796f7 8022724: lint warnings in j.u.concurrent packages
Reviewed-by: chegar, lancea, darcy
2013-08-09 17:56:38 +01:00
Chris Hegarty
a446ab4d6b 8022661: InetAddress.writeObject() performs flush() on object output stream
Reviewed-by: michaelm, alanb
2013-08-09 13:50:13 +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
Lana Steuck
1fa1e6d2ca Merge 2013-08-07 19:56:20 -07:00
Lana Steuck
db9bc87b0d Merge 2013-08-07 19:52:47 -07:00
Lana Steuck
e395ecfccb Merge 2013-08-07 12:03:37 -07:00
Artem Ananiev
d98a8a162f 6551589: ContainerListener Documentation may be incorrect
Reviewed-by: serb
2013-08-07 21:31:42 +04:00
Marcus Lagergren
5409730fde 8022454: Fixed various serializations and deprecation warnings in java.util, java.net and sun.tools
Reviewed-by: darcy
2013-08-07 08:08:57 -07:00
Lana Steuck
2093cb052d Merge 2013-08-06 22:47:14 -07:00
Mike Duigou
67517a374c 8022476: cleanup some raw types and unchecked warnings in java.util.stream
Co-authored-by: Henry Jen <henry.jen@oracle.com>
Reviewed-by: darcy
2013-08-06 18:18:12 -07:00
Henry Jen
b2cc9db8d8 8022446: Fix serial warnings in java.util.stream
Reviewed-by: darcy
2013-08-06 17:42:47 -07:00
Phil Race
753a6e3b0c 8022447: Fix doclint warnings in java.awt.image
Reviewed-by: darcy
2013-08-06 17:12:37 -07:00
Lana Steuck
37487a9e38 Merge 2013-08-06 17:01:05 -07:00
Lana Steuck
10ffeaaadd Merge 2013-07-31 13:02:53 -07:00
Sergey Bylokhov
a854dc1181 6230360: Spelling mistake in documentation for AWT: 1.4, 1.5, 1.6, 1.7
Reviewed-by: malenkov, art
2013-07-29 16:57:46 +04:00
Brian Burkhalter
0aa76a2c72 8020539: Clean up doclint problems in java.util package, part 2
Clean up doclint errors and warnings in classes in java.util

Reviewed-by: darcy, chegar
2013-07-30 10:35:06 -07: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