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

Paul Richardson (JIRA) jira-events at lists.jboss.org
Thu Apr 25 06:45:54 EDT 2013


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

Paul Richardson edited comment on JBIDE-14315 at 4/25/13 6:45 AM:
------------------------------------------------------------------

The patch is part of my first email I sent to the mockito list:  [here|https://groups.google.com/forum/?hl=en&fromgroups=#!topic/mockito/wu1GwsC2E28].

I'll also add it here as an attachment -> [^0001-Allow-the-cache-option-to-be-changed-in-the-default-.patch]
                
      was (Author: phantomjinx):
    The patch is part of my first email I sent to the mockito list:  [here|https://groups.google.com/forum/?hl=en&fromgroups=#!topic/mockito/wu1GwsC2E28].

I'll also add it here as an attachment.
                  
> 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