[jbosstools-issues] [JBoss JIRA] (JBIDE-14315) handle mockito osgi unfriendly API

Max Rydahl Andersen (JIRA) jira-events at lists.jboss.org
Thu Apr 25 09:50:53 EDT 2013


    [ https://issues.jboss.org/browse/JBIDE-14315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12770141#comment-12770141 ] 

Max Rydahl Andersen commented on JBIDE-14315:
---------------------------------------------

okey so Mockito keeps it state per-thread ? thats comforting at least.
                
> handle mockito osgi unfriendly API
> ----------------------------------
>
>                 Key: JBIDE-14315
>                 URL: https://issues.jboss.org/browse/JBIDE-14315
>             Project: Tools (JBoss Tools)
>          Issue Type: Sub-task
>          Components: locus
>            Reporter: Max Rydahl Andersen
>            Assignee: Paul Richardson
>             Fix For: 4.1.0.Beta1
>
>         Attachments: 0001-Allow-the-cache-option-to-be-changed-in-the-default-.patch
>
>
> The current approach in Locus to add org.mockito.MockitoConfiguration makes our bundle a very custom one, not just a rebundle.
> Need to see if we can get an updated mockito release out or some other way disable mockito's caching behavior.
> The current fix also has multithreading issues since two tests could be running and be toggling mockito classcaching on and off and trigger a racecondition.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list