Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-569

Fix JMock to support JDK7 (JavassistImposteriser)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • core-1.2.0
    • core-1.5.0
    • Core
    • 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

              danhaywood Daniel Keir Haywood
              danhaywood Daniel Keir Haywood
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: