Review Request: 7088913/7088952 : Additions to primitive wrappers
david.holmes at oracle.com
Tue Sep 20 18:02:21 PDT 2011
A minor style nit. In Byte you have:
+ public static final int BYTES = Byte.SIZE / Byte.SIZE;
whereas all the other classes use SIZE / Byte.size
On 21/09/2011 6:11 AM, Mike Duigou wrote:
> Hello all;
> Here's a webrev for two small additions to the primitive wrapper types (Boolean, Byte, Character, Double, Float, Integer, Long, Short).
> The webrev combines two issues:
> 7088913: Add compatible static hashCode(primitive) to primitive wrapper classes
> 7088952: Add "BYTES" constant to primitive wrapper classes
> Stuart Marks has already peer reviewed this for me but a sharp eyed reader may catch something previously missed. As it's already been reviewed I will commit on Friday if there is no feedback.
More information about the core-libs-dev