[kaffe] Kaffe CVS: kaffe dalibor

Dalibor Topic robilad at yahoo.com
Sat May 25 06:46:15 PDT 2002


Hi Archie,

--- Archie Cobbs <archie at dellroad.org> wrote:
> Kaffe CVS writes:
> > Changes by:	dalibor	02/05/24 07:46:43
> > 
> > Modified files:
> > 	.              : ChangeLog 
> > 	libraries/javalib/java/util: HashMap.java
> TreeMap.java 
> > 
> > Log message:
> > cleaned up clone in java.util.TreeMap and
> java.util.HashMap
> 
> Can you explain the purpose of these commits? I
> don't see the
> difference.

I ran jlint over kaffe's class libraries and it
complained about clone being NULL if super.clone()
failed, and it being used to set instance fields
nevertheless.

Despite the comment that says "can't happen" I felt it
was safer to move the code working on the cloned
object inside the try/catch block.

cheers,

dalibor topic

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com




More information about the kaffe mailing list