[ 
https://issues.apache.org/jira/browse/ISIS-569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13984941#comment-13984941
 ] 

Dan Haywood commented on ISIS-569:
----------------------------------

Updated title, to remove usage of the jmock-legacy and (the cglib-based) 
ClassImposteriser, and instead use a home-grown implemenatation of Imposteriser 
implemented using Javassist.

NB: to copy in from https://github.com/danhaywood/jmock-javassist.

> Fix JMock to support JDK7 (JavassistImposteriser)
> -------------------------------------------------
>
>                 Key: ISIS-569
>                 URL: https://issues.apache.org/jira/browse/ISIS-569
>             Project: Isis
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: core-1.2.0
>            Reporter: Dan Haywood
>            Assignee: Dan Haywood
>             Fix For: core-1.4.2
>
>
> Isis standardized on using JMock a while back, however as a library it 
> doesn't seem to be keeping up.
> Specifically, its mocking of classes depends on cglib 2.x (and therefore asm 
> 3.x), which conflicts with cglib 3/ asm 4.x (required for JDK 7).
> Candidates to replace it are mockito and jmockit.  Personally I don't much 
> like mockito; jmockit comes out well in this comparison:
> https://blog.42.nl/articles/mockito-powermock-vs-jmockit/



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to