[Bug libgcj/12664] New: WeakHashMap cannot handle initial capacity of 0
scgmille at freenetproject dot org
gcc-bugzilla@gcc.gnu.org
Fri Oct 17 18:55:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12664
Summary: WeakHashMap cannot handle initial capacity of 0
Product: gcc
Version: 3.3.2
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: libgcj
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: scgmille at freenetproject dot org
CC: gcc-bugs at gcc dot gnu dot org
java.util.WeakHashMap cannot handle being created with an initial capacity of 0.
Doing so causes the bucket size to be 0, which is then used by modulo (%) in
hash(), triggering a division by zero error.
More information about the Gcc-bugs
mailing list