harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sian January (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-2383) [classlib] [luni] Fixes for some minor issues in the java.util package found by Melody
Date Tue, 19 Dec 2006 11:00:25 GMT
    [ http://issues.apache.org/jira/browse/HARMONY-2383?page=comments#action_12459593 ] 
Sian January commented on HARMONY-2383:

Alexey - doing "synchronized (Hashtable.this)" is locking the outer Hashtable object  where
as "public synchronized int size() { " is locking the anonymous inner object, which means
that it doesn't block any other access that is synchronized on the Hashtable object.  Hope
that makes sense!

> [classlib] [luni] Fixes for some minor issues in the java.util package found by Melody
> --------------------------------------------------------------------------------------
>                 Key: HARMONY-2383
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2383
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Sian January
>            Priority: Minor
>         Attachments: exclusionFilter_patch.txt, findbugspatch.txt, Formatter_Long_patch.txt,
Formatter_OR_patch.txt, Formatter_toString_patch.txt, GregorianCalendar_patch.txt, HashMap_patch.txt,
Hashtable_patch.txt, java.util_patch.txt, Properties_patch.txt, Scanner_patch.txt, Vector_patch.txt,
> I have looked through the issues found by findbugs and have fixed all of the ones in
the java.util package that seemed to be real issues.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message