[Patch] Fix BitSet.get(int, int) breakage.
David Daney
ddaney@avtrex.com
Tue May 10 00:27:00 GMT 2005
BitSet.get(int fromIndex, int toIndex) is broken for fromIndex not a
multiple of 64. One of the internal shift values was calculated
incorrectly.
This patch fixes the problem.
Tested on the gcc-4.0 branch with make -k check in libjava on
i686-pc-linux-gnu. No regressions.
I added a testcase for this to mauve.
2005-0509 David Daney <ddaney@avtrex.com>
* java/util/BitSet.java (get(int, int)): Fix breakage when
requested set doesn't start on a multiple of 64.
OK to commit to 4.0 branch and HEAD ?
David Daney.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: BitSet.patch
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20050510/17c9dcbc/attachment.ksh>
More information about the Java-patches
mailing list