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

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


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

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

[~phantomjinx] you mention in TEIIDDES-1681 you posted an upstream patch but I can't find it.

Link points to https://github.com/Teiid-Designer/locus/commit/175b30552306dfd053eaf77d0a1f50c87a2a046b which is not a patch against mockito but the pre-locus repo.
                
> 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
>
>
> 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