JDK 9 RFR of 8151957: ObjectInputStream.java -incorrect HashMap initial size allocation, and useless variable set
Brian Burkhalter
brian.burkhalter at oracle.com
Tue Mar 22 18:44:52 UTC 2016
On Mar 22, 2016, at 11:38 AM, 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.
Correction: I intended “the JDK *8* aspects are not worth addressing.”
Brian
More information about the core-libs-dev
mailing list