[PATCH] Bug fix for java.util.Vector

Dalibor Topic robilad at yahoo.com
Thu Feb 28 12:08:31 PST 2002


this patch fixes some problems with kaffe's java.util.Vector
implementation. I found them while playing around with the Vector
examples from Java Class Libraries Second Edition Vol.1 Supplement book.

One java.util.Vector example from the book is still broken, subList. I don't 
have a fix for that, since I don't understand the AbstractList implementation 
well enough to come up with a solution.

Patch and change log entry are attached.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-diff
Size: 1425 bytes
Desc: java.util.Vector bug fixes
Url : http://kaffe.org/pipermail/kaffe/attachments/20020228/aa29cb72/attachment-0003.diff 
-------------- next part --------------
	* libraries/javalib/java/util/Vector.java:
	(elementAt) Updated exception message.
	(indexOf) Fixed NullPointerException.
	(toString) Fixed string conversion of nulls.

More information about the kaffe mailing list