JDK 9 RFR of 8151957: ObjectInputStream.java -incorrect HashMap initial size allocation, and useless variable set

Lance Andersen lance.andersen at oracle.com
Tue Mar 22 18:46:54 UTC 2016

Looks good.  Like these new convienence methods.

On Mar 22, 2016, at 2:38 PM, Brian Burkhalter <brian.burkhalter at oracle.com> wrote:

> Please review at your convenience.
> Issue:	https://bugs.openjdk.java.net/browse/JDK-8151957
> Patch:	http://cr.openjdk.java.net/~bpb/8151957/webrev.00/
> Summary:
> Modify the initialization of primClasses primitive type name-to-class object table to use the new Map.of() convenience method with nine key-value pairs. This patch applies to JDK 9 only. As indicated in the comments, the JDK aspects are not worth addressing.
> Thanks,
> Brian

Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037
Oracle Java Engineering 
1 Network Drive 
Burlington, MA 01803
Lance.Andersen at oracle.com

More information about the core-libs-dev mailing list