[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug classpath/27131] New: BitSet.get(int, int) fails for 'from' == 'to
From: |
david dot gilbert at object-refinery dot com |
Subject: |
[Bug classpath/27131] New: BitSet.get(int, int) fails for 'from' == 'to' |
Date: |
12 Apr 2006 10:59:00 -0000 |
The following code throws an ArrayIndexOutOfBoundsException:
BitSet bs1 = new BitSet();
bs1.set(3);
bs1.set(4);
bs1.set(5);
BitSet bs2 = bs1.get(3, 3);
whereas it should return an empty bitset. I committed a Mauve test for this
earlier today.
--
Summary: BitSet.get(int, int) fails for 'from' == 'to'
Product: classpath
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: classpath
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: david dot gilbert at object-refinery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27131
- [Bug classpath/27131] New: BitSet.get(int, int) fails for 'from' == 'to',
david dot gilbert at object-refinery dot com <=