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:38:57 UTC 2016
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
More information about the core-libs-dev
mailing list