Uploaded image for project: 'Isis'
  1. Isis
  2. ISIS-569

Fix JMock to support JDK7 (JavassistImposteriser)

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: core-1.2.0
    • Fix Version/s: core-1.5.0
    • Component/s: Core
    • Labels:
      None

      Description

      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/

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                danhaywood Dan Haywood
                Reporter:
                danhaywood Dan Haywood
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: