Skip to content
Snippets Groups Projects
Commit a04045d0 authored by Tom Tromey's avatar Tom Tromey Committed by Tom Tromey
Browse files

re PR libgcj/11241 (WeakHashMap throws a "/ zero" ArithmeticException when...

re PR libgcj/11241 (WeakHashMap throws a "/ zero" ArithmeticException when initialCapacity is explicitly zero)

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

From-SVN: r70070
parent 6e42faef
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment