RFR 8203279 : Faster calculation of power of two

Claes Redestad claes.redestad at oracle.com
Thu May 17 11:24:01 UTC 2018



On 2018-05-17 13:15, David Holmes wrote:
>> diff -r de35abdfe5da src/java.base/share/classes/java/lang/Integer.java
>> --- a/src/java.base/share/classes/java/lang/Integer.java Mon May 14 
>> 16:21:08 2018 +0200
>> +++ b/src/java.base/share/classes/java/lang/Integer.java Thu May 17 
>> 12:44:53 2018 +0200
>> @@ -1621,12 +1621,12 @@
>>           // HD, Figure 5-6
>
> The code no longer maps to that from HD so the comment would need fixing.

Seems that's a pre-existing issue, but yes.

/Claes


More information about the core-libs-dev mailing list