Hi Archie,

--- Archie Cobbs <[EMAIL PROTECTED]> 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

_______________________________________________
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

Reply via email to