On Thu, Jul 30, 2009 at 7:29 PM, Gerald Boersma<[email protected]> wrote:
> Where can I look in the code base to understand how to determine in what
> context the Hash.rehash method is called, i.e. if it is called from an
> iterator over the Hash or not? I see from the Hash.each method how the yield
> to the block is performed and how the reference to the block to be used is
> called. I am not sure how to use that to safely determine that a rehash to
> the same Hash is being called from that same block (or even if that is a
> good approach. It doesn't smell quite right to me...).
>
> Any suggestions?
>
> If you think this defect is too big a bite to start with (i.e. first
> requires deep understanding of JRuby architecture / design), any suggestions
> for easier ones are welcome. But I am willing to start anywhere...

A quick look at RubyHash.rehash shows it to be pretty straightforward.
I don't think this is too difficult to start with. Why don't you have
a look and feel free to post any questions back here. We're standing
by to help you help us :)

> BTW, searching through the dev mail archive using CodeHaus is not working
> very well for me. Trying a search on "3745" or "RUBY-3745" gives me
> "Unfortunately, there was an unexpected issue processing your request. "
> (after I prove I am human... ;-)

Yeah, we're pretty disappointed with the Codehaus mail archives. I
don't think they've ever worked. Try nabble or markmail or something.

- Charlie

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to