This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libgcj/11241] WeakHashMap throws a "/ zero" ArithmeticException when initialCapacity is explicitly zero


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11241



------- Additional Comments From cvs-commit at gcc dot gnu dot org  2003-08-01 21:30 -------
Subject: Bug 11241

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	tromey@gcc.gnu.org	2003-08-01 21:30:14

Modified files:
	libjava        : ChangeLog 
	libjava/java/util: WeakHashMap.java 

Log message:
	Fix for PR libgcj/11241:
	* java/util/WeakHashMap.java (WeakHashMap(int,float)): If
	initialCapacity is 0, set it to 1.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/ChangeLog.diff?cvsroot=gcc&r1=1.2078&r2=1.2079
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/java/util/WeakHashMap.java.diff?cvsroot=gcc&r1=1.6&r2=1.7


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]