You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@clerezza.apache.org by "Manuel Innerhofer (JIRA)" <ji...@apache.org> on 2010/08/24 16:06:16 UTC

[jira] Created: (CLEREZZA-285) not synchronizing when iterating over Collections.synchonizedSet/List/Map() on different occasions

not synchronizing when iterating over Collections.synchonizedSet/List/Map() on different occasions
--------------------------------------------------------------------------------------------------

                 Key: CLEREZZA-285
                 URL: https://issues.apache.org/jira/browse/CLEREZZA-285
             Project: Clerezza
          Issue Type: Bug
            Reporter: Manuel Innerhofer
            Assignee: Manuel Innerhofer


The javadocs of Collections.synchonizedSet/List/Map() say:

It is imperative that the user manually synchronize on the returned set when iterating over it
[...]
Failure to follow this advice may result in non-deterministic behavior.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CLEREZZA-285) not synchronizing when iterating over Collections.synchonizedSet/List/Map() on different occasions

Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLEREZZA-285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12901908#action_12901908 ] 

Reto Bachmann-Gmür commented on CLEREZZA-285:
---------------------------------------------

Hi Manuel

Could you specify this different occasions more precisely?

Thanks!
Reto

> not synchronizing when iterating over Collections.synchonizedSet/List/Map() on different occasions
> --------------------------------------------------------------------------------------------------
>
>                 Key: CLEREZZA-285
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-285
>             Project: Clerezza
>          Issue Type: Bug
>            Reporter: Manuel Innerhofer
>            Assignee: Manuel Innerhofer
>
> The javadocs of Collections.synchonizedSet/List/Map() say:
> It is imperative that the user manually synchronize on the returned set when iterating over it
> [...]
> Failure to follow this advice may result in non-deterministic behavior.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (CLEREZZA-285) not synchronizing when iterating over Collections.synchronizedSet/List/Map() on various occasions

Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLEREZZA-285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Reto Bachmann-Gmür closed CLEREZZA-285.
---------------------------------------


bulk closing issues that were committed into trunk and left in status resolved for a long time and didn't find a reviewer.

> not synchronizing when iterating over Collections.synchronizedSet/List/Map() on various occasions
> -------------------------------------------------------------------------------------------------
>
>                 Key: CLEREZZA-285
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-285
>             Project: Clerezza
>          Issue Type: Bug
>            Reporter: Manuel Innerhofer
>            Assignee: Manuel Innerhofer
>
> The javadocs of Collections.synchronizedSet/List/Map/Collection() say:
> It is imperative that the user manually synchronize on the returned set when iterating over it
> [...]
> Failure to follow this advice may result in non-deterministic behavior.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CLEREZZA-285) not synchronizing when iterating over Collections.synchonizedSet/List/Map() on different occasions

Posted by "Manuel Innerhofer (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLEREZZA-285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Manuel Innerhofer resolved CLEREZZA-285.
----------------------------------------

    Resolution: Fixed

> not synchronizing when iterating over Collections.synchonizedSet/List/Map() on different occasions
> --------------------------------------------------------------------------------------------------
>
>                 Key: CLEREZZA-285
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-285
>             Project: Clerezza
>          Issue Type: Bug
>            Reporter: Manuel Innerhofer
>            Assignee: Manuel Innerhofer
>
> The javadocs of Collections.synchonizedSet/List/Map() say:
> It is imperative that the user manually synchronize on the returned set when iterating over it
> [...]
> Failure to follow this advice may result in non-deterministic behavior.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CLEREZZA-285) not synchronizing when iterating over Collections.synchronizedSet/List/Map() on various occasions

Posted by "Manuel Innerhofer (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLEREZZA-285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Manuel Innerhofer updated CLEREZZA-285:
---------------------------------------

        Summary: not synchronizing when iterating over Collections.synchronizedSet/List/Map() on various occasions  (was: not synchronizing when iterating over Collections.synchonizedSet/List/Map() on different occasions)
    Description: 
The javadocs of Collections.synchronizedSet/List/Map/Collection() say:

It is imperative that the user manually synchronize on the returned set when iterating over it
[...]
Failure to follow this advice may result in non-deterministic behavior.

  was:
The javadocs of Collections.synchonizedSet/List/Map() say:

It is imperative that the user manually synchronize on the returned set when iterating over it
[...]
Failure to follow this advice may result in non-deterministic behavior.


> not synchronizing when iterating over Collections.synchronizedSet/List/Map() on various occasions
> -------------------------------------------------------------------------------------------------
>
>                 Key: CLEREZZA-285
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-285
>             Project: Clerezza
>          Issue Type: Bug
>            Reporter: Manuel Innerhofer
>            Assignee: Manuel Innerhofer
>
> The javadocs of Collections.synchronizedSet/List/Map/Collection() say:
> It is imperative that the user manually synchronize on the returned set when iterating over it
> [...]
> Failure to follow this advice may result in non-deterministic behavior.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CLEREZZA-285) not synchronizing when iterating over Collections.synchonizedSet/List/Map() on different occasions

Posted by "Manuel Innerhofer (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLEREZZA-285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12901937#action_12901937 ] 

Manuel Innerhofer commented on CLEREZZA-285:
--------------------------------------------

I fixed it, hope you don't mind. See the "Subversion Commits" to see which project were affected. The one in AbstractTripleCollection.java caused ConcurrentModificationExceptions, that's how I found it.

> not synchronizing when iterating over Collections.synchonizedSet/List/Map() on different occasions
> --------------------------------------------------------------------------------------------------
>
>                 Key: CLEREZZA-285
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-285
>             Project: Clerezza
>          Issue Type: Bug
>            Reporter: Manuel Innerhofer
>            Assignee: Manuel Innerhofer
>
> The javadocs of Collections.synchonizedSet/List/Map() say:
> It is imperative that the user manually synchronize on the returned set when iterating over it
> [...]
> Failure to follow this advice may result in non-deterministic behavior.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CLEREZZA-285) not synchronizing when iterating over Collections.synchonizedSet/List/Map() on different occasions

Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLEREZZA-285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12901941#action_12901941 ] 

Reto Bachmann-Gmür commented on CLEREZZA-285:
---------------------------------------------

Sorry manuel, I missed that you already assigned the issue to yourself.

> not synchronizing when iterating over Collections.synchonizedSet/List/Map() on different occasions
> --------------------------------------------------------------------------------------------------
>
>                 Key: CLEREZZA-285
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-285
>             Project: Clerezza
>          Issue Type: Bug
>            Reporter: Manuel Innerhofer
>            Assignee: Manuel Innerhofer
>
> The javadocs of Collections.synchonizedSet/List/Map() say:
> It is imperative that the user manually synchronize on the returned set when iterating over it
> [...]
> Failure to follow this advice may result in non-deterministic behavior.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.