public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/12664] New: WeakHashMap cannot handle initial capacity of 0
@ 2003-10-17 18:55 scgmille at freenetproject dot org
  2003-10-17 18:59 ` [Bug libgcj/12664] " pinskia at gcc dot gnu dot org
  0 siblings, 1 reply; 2+ messages in thread
From: scgmille at freenetproject dot org @ 2003-10-17 18:55 UTC (permalink / raw)
  To: gcc-bugs

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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug libgcj/12664] WeakHashMap cannot handle initial capacity of 0
  2003-10-17 18:55 [Bug libgcj/12664] New: WeakHashMap cannot handle initial capacity of 0 scgmille at freenetproject dot org
@ 2003-10-17 18:59 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-10-17 18:59 UTC (permalink / raw)
  To: gcc-bugs

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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-10-17 18:59 -------
This is a dup of bug 11241 which is already fixed for 3.4.

*** This bug has been marked as a duplicate of 11241 ***


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-10-17 18:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-17 18:55 [Bug libgcj/12664] New: WeakHashMap cannot handle initial capacity of 0 scgmille at freenetproject dot org
2003-10-17 18:59 ` [Bug libgcj/12664] " pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).