[PATCH] 7164256 : EnumMap.clone doesn't clear the entrySet field, keeping a reference to the original Map
Alan Bateman
Alan.Bateman at oracle.com
Mon May 28 20:02:59 UTC 2012
On 28/05/2012 20:31, Diego Belfer wrote:
> Hi,
>
> The patch seems to have been removed by the mailer. I am adding it inline.
>
> Best,
> Diego Belfer
> [muralx]
>
Thanks for the bug report and patch. I think mailman is configured to
drop certain types of attachments which would explain why it was missing
from your first mail.
As you are contributing a fix then I would suggesting going through this
page first:
http://openjdk.java.net/contribute/
This explains how to be a contributor. Also note in section 3 that a
unit or regression tests should be included where practical. I realize
this will be more work than the fix itself but that is often the case.
You can find some examples of tests for this area in
jdk/test/java/util/EnumMap.
-Alan.
More information about the core-libs-dev
mailing list