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

Claes Redestad claes.redestad at oracle.com
Tue Mar 22 18:48:04 UTC 2016



On 2016-03-22 19:44, Brian Burkhalter wrote:
> 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
>

Looks good to me!

/Claes



More information about the core-libs-dev mailing list