PowerMock v1.7.0RC2

@thekingnothing thekingnothing released this Jan 28, 2017 · 4 commits to master since this release

Majority changes

Release includes two majority changes:

  • Support Mockito 2.4.0 for PowerMock 1.x (thanks to Gregor Stamac @gstamac for pull request)
  • Migrate from Maven to Gradle (#728)

Bug fixes

  • Fix issue #722 IllegalArgumentException is output to standard error (thanks to Kotaro Nanri @k-nanri for pull request)
  • Fix issue #717 Regression: MethodNotFoundException
  • Fix issue #731 No methods matching the name(s) get were found in the class hierarchy for interfaces

Other changes:

  • Optimizations in powermock-reflect (thanks to Roman Leventov @leventov for pull request) (#724)


PowerMock 1.6.6

@thekingnothing thekingnothing released this Nov 4, 2016 · 32 commits to master since this release


  • PowerMock can work with JaCoCo offline instrumenting to get code coverage.
  • Jacoco offline instrumentation incompatibility with powermock byte-code manipulation when using @SuppressStaticInitializationFor (issue 645)
  • Fixed "TooManyActualInvocations when class is prepared for test" (issue 656)
  • Fixed ClassNotFoundException when loading cglib enhanced classes created by Spring (issue 695)
  • @Mock fields are now injectable again (1.6.5 regression) (issue 668)
  • Using Powermock with Roo/AspectJ no longer throws NullPointerException (issue 676)
  • Added support for specifying constructor parameters for Mockito for whenNew (Only mock specific calls to new)
  • Added support for setting private static final fields (thanks to Andrei Petcu @andreicristianpetcu for pull request)

Other changes

See change log for more details