Hello,
Please review the small cleanup for jdk9.

The code which was copied from BigInteger.bitCnt() replaced by Integer.bitCount(). Note that this code is removed from BigInteger class itself and also replaced by Integer.bitCount [1].

The getMatchCount() method is removed, because initially(long ago) it was used in place which was changed in the fix. But now it is unused.

[1] http://hg.openjdk.java.net/jdk9/client/jdk/rev/8d2efec31d78

Bug: https://bugs.openjdk.java.net/browse/JDK-6832045
Webrev can be found at: http://cr.openjdk.java.net/~serb/6832045/webrev.00

--
Best regards, Sergey.

Reply via email to