[kaffe] Re: LinkedList.subList severely broken

Daniel Bonniot Daniel.Bonniot at inria.fr
Wed May 21 06:28:01 PDT 2003


I think I spotted the bug in the implementation of 
java.util.LinkedListIterator. It keeps a reference to the current list 
node, but in the construction, that reference is incorrect when index is 
not 0.
I attach a simple fix.

Cheers,

Daniel

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: LinkedListIterator.diff
Url: http://kaffe.org/pipermail/kaffe/attachments/20030521/6a933227/attachment-0002.txt 


More information about the kaffe mailing list