https://bugzilla.redhat.com/show_bug.cgi?id=1096992
Bug ID: 1096992 Summary: PowerMock 1.4.x incompatible with EasyMock 3.1 Product: Fedora Version: 20 Component: powermock Severity: high Assignee: rkennke@redhat.com Reporter: ctubbsii@apache.org QA Contact: extras-qa@fedoraproject.org CC: java-sig-commits@lists.fedoraproject.org, jerboaa@gmail.com, msimacek@redhat.com, neugens@redhat.com, rkennke@redhat.com
Description of problem:
PowerMockRunner 1.4.12 and some versions of 1.5.x are incompatible with EasyMock 3.2 available in Fedora. PowerMock needs to be updated to version 1.5.4 (preferred) or EasyMock 3.1 needs to be available.
Version-Release number of selected component (if applicable): 1.4.12
How reproducible: 100%
Steps to Reproduce: 1. Run a basic JUnit test with PowerMockRunner, using expectNew
Actual results: Test fails with the following exception: org.powermock.reflect.exceptions.FieldNotFoundException: No instance field of type "org.easymock.internal.MocksControl$MockType" could be found in the class hierarchy of org.easymock.internal.MocksControl.
Expected results: Test succeeds
Additional info: http://stackoverflow.com/questions/17788926/org-powermock-reflect-exceptions... http://code.google.com/p/powermock/issues/detail?id=454
https://bugzilla.redhat.com/show_bug.cgi?id=1096992
Michael Simacek msimacek@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|rkennke@redhat.com |msimacek@redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=1096992
Michael Simacek msimacek@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |MODIFIED Fixed In Version| |1.6.2-1
https://bugzilla.redhat.com/show_bug.cgi?id=1096992
Michael Simacek msimacek@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |CLOSED Resolution|--- |RAWHIDE Last Closed| |2015-05-20 10:35:31
--- Comment #1 from Michael Simacek msimacek@redhat.com --- I updated powermock to version 1.6.2 in rawhide. I think it would be impractical to rebase it in stable fedoras as it's a test only dependency of packages. Please reopen the bug if you think otherwise.
java-sig-commits@lists.fedoraproject.org