On Wed, 13 Jul 2022 15:00:07 GMT, Roger Riggs <rri...@openjdk.org> wrote:

>> Сергей Цыпанов has updated the pull request incrementally with one 
>> additional commit since the last revision:
>> 
>>   8290079: Rename local var
>
> src/java.base/share/classes/java/math/BigInteger.java line 1276:
> 
>> 1274:          * on demand.
>> 1275:          */
>> 1276:         BigInteger[][] powerCache = new 
>> BigInteger[Character.MAX_RADIX+1][];
> 
> Using a different local name will avoid the shadowing and make it more 
> obvious that the initialization is being deliberately being done before the 
> assignment to a volatile.

Fixed.

-------------

PR: https://git.openjdk.org/jdk/pull/9451

Reply via email to