[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cp-patches] RFC: Hashtable cleanup
From: |
Tom Tromey |
Subject: |
Re: [cp-patches] RFC: Hashtable cleanup |
Date: |
11 Jan 2006 11:19:39 -0700 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
>>>>> "Roman" == Roman Kennke <address@hidden> writes:
Roman> So, should I check this in?
Yes, but...
Roman> + if (idx <= 0) /* added this test to avoid
Roman> + * ArrayIndexOutOfBounds when Hashtable is
Roman> + * modified concurrently, return null in this
Roman> + * case. see test
Roman> + *
com.aicas.jamaica.testlet.bugdb.JB00310.EnumerateAndModify
Roman> + * --Fridi.
Roman> + */
A few nits about this: we don't usually use long end-of-line comments,
it would be better to have an inline comment before the test. Also we
don't ordinarily mention people's names or reference test cases which
aren't in Mauve.
Could you put that test case in Mauve? That would be best since it
would be run by the regular regression tester.
Roman> + * appear in the enumeration. The spec says nothing about this, but
Roman> + * the "Java Class Libraries" book infers that modifications to the
This should be 'implies', not 'infers'. This occurs in a couple
places.
Tom