classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Fix for Hashtable contains blowing up the stack


From: Dalibor Topic
Subject: Re: [PATCH] Fix for Hashtable contains blowing up the stack
Date: Fri, 28 Nov 2003 18:42:46 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312

Hi Mark,

Mark Wielaard wrote:
Hi,

On Fri, 2003-11-28 at 17:39, Dalibor Topic wrote:

Thanks for pointing that mistake out. I've attached an updated version of the patch.

2003-11-28  Dalibor Topic <address@hidden>

        Reported by: Jim Pick <address@hidden>

        * libraries/javalib/java/util/Hashtable.java
        (internalcontainsValue): New method.
        (contains) Delegate to internalContainsValue.

        Reported by: Mark Wielaard  <address@hidden>

        * libraries/javalib/java/util/Hashtable.java
        (contains): Improved comment.

        Reported by: Jeroen Frijters  <address@hidden>

        * libraries/javalib/java/util/Hashtable.java
        (containsValue): Delegate to contains(Object) to make sure older
        code overwriting it continues to work.

I'm not sure how to deal with mutliple people's bug reports being fixed in this patch in the ChangeLog entry, so I'd appreciate a hint from the ChangeLog police.


Looks fine to me. (I would loose the extra empty line between Reported
by: and the actual change, but feel free to ignore me).

Also you could now pull the complete internalContainsValue() into the
containsValue() method, but that would make the patch bigger, so don't
bother (compiler/VM will inline the private method anyway).

O.K.

If this solves both Mauve Hashtable tests, please check it in.

done.

cheers,
dalibor topic





reply via email to

[Prev in Thread] Current Thread [Next in Thread]