hg: jdk7/tl/jdk: 4 new changesets

martinrb at google.com martinrb at google.com
Mon May 10 10:58:54 PDT 2010


Changeset: ec45423a4700
Author:    martin
Date:      2010-05-09 00:59 -0700
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/ec45423a4700

6933217: Huge arrays handled poorly in core libraries
Summary: Write overflow-conscious array resizing code
Reviewed-by: chegar

! src/share/classes/java/io/ByteArrayOutputStream.java
! src/share/classes/java/lang/AbstractStringBuilder.java
! src/share/classes/java/util/AbstractCollection.java
! src/share/classes/java/util/ArrayList.java
! src/share/classes/java/util/Hashtable.java
! src/share/classes/java/util/PriorityQueue.java
! src/share/classes/java/util/Vector.java

Changeset: 0144f2fc69a3
Author:    martin
Date:      2010-05-09 00:59 -0700
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/0144f2fc69a3

6950540: PriorityQueue(collection) should throw NPE if collection contains a null
Summary: Rewrite PriorityQueue constructors for best performance and error handling
Reviewed-by: dholmes, chegar

! src/share/classes/java/util/PriorityQueue.java
+ test/java/util/PriorityQueue/NoNulls.java

Changeset: df4d3e3e465a
Author:    martin
Date:      2010-05-09 16:03 -0700
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/df4d3e3e465a

6937857: Concurrent calls to new Random() not random enough
Summary: seed uniquifier should use an independent PRNG
Reviewed-by: dl

! src/share/classes/java/util/Random.java
! test/java/util/Random/DistinctSeeds.java

Changeset: ab0673a2e681
Author:    martin
Date:      2010-05-09 16:37 -0700
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/ab0673a2e681

6937842: Unreadable \uXXXX in javadoc
Summary: Replace \uXXXX by \u005CXXXX, or simply delete
Reviewed-by: sherman

! src/share/classes/java/lang/String.java
! src/share/classes/java/util/zip/Deflater.java




More information about the security-dev mailing list