File powermock.changes of Package powermock

-------------------------------------------------------------------
Thu Mar 27 21:50:33 UTC 2025 - Fridrich Strba <fstrba@suse.com>

- Fix pom.xml errors that will be fatal with Maven 4

-------------------------------------------------------------------
Tue Apr 23 15:38:03 UTC 2024 - Fridrich Strba <fstrba@suse.com>

- Upgrade to upstream release 2.0.9
  * Major changes
    + Mockito Public API Support Roadmap
    + Dropped supporting Mockito 1.x as result removed module
      powermock-api-mockito
    + Dropped supporting EasyMock 3.1. Officially supported
      EasyMock 3.5
  * Enhancements
    + Removed deprecated code in PowerMock 2.0.
    + JDK 9 support
  * Bugfixes:
    + PowerMockitoStubberImpl.when throws exceptions with methods
      using arguments with both primitive and wrapped arguments
    + Bump byte-buddy from 1.9.10 to 1.10.14
    + PowerMockAgent does not support java >= 10
    + IllegalStateException when inner class has private constructor
      on Java>8
    + Fixes 976: Change to StackTraceCleaner to allow mockito strick
      stubs mode to work correctly
    + Fixes #888: Disable Security of X-Stream
    + #959 fix compile error due to unused import of a class which
      is not in the dependencies
    + Issue 939: Error with setInternalState and JDK12
      java.lang.NoSuchFieldException: modifiers
    + JDK9, power mockito 2.0.0-beta.5 - final class issue when
      mocking static method
    + @mock annotation from easymock api does not work for two
      fields of the same type.
    + Preparing PowerMock 2.0 Release without ByteBuddy
    + Use EasyMock exposed MockType instead of the deprecated
      internal one
    + Update PowerMockAgent.java
- Modified patches:
  * powermock-testng710.patch
    + rediff to changed context
  * fix-build.patch -> powermock-junit4.patch
    + rename the patch and rediff to changed context
- Removed patches:
  * 0001-Fix-junit3-compat.patch
  * 0002-Setting-naming-policy.patch
    + not needed any more
- Added patch:
  * powermock-mockito.patch
    + upstream patch to build with newer mockito

-------------------------------------------------------------------
Tue Apr 16 15:15:10 UTC 2024 - Fridrich Strba <fstrba@suse.com>

- Added patch:
  * powermock-testng710.patch
    + fix build with testng 7.10.1

-------------------------------------------------------------------
Wed Feb 21 10:53:31 UTC 2024 - Gus Kenion <gus.kenion@suse.com>

- Use %patch -P N instead of deprecated %patchN.

-------------------------------------------------------------------
Sat Sep  9 14:46:39 UTC 2023 - Fridrich Strba <fstrba@suse.com>

- Reproducible builds: use SOURCE_DATE_EPOCH for timestamp

-------------------------------------------------------------------
Wed Mar 30 10:02:31 UTC 2022 - Fridrich Strba <fstrba@suse.com>

- Build against the standalone JavaEE modules inconditionally

-------------------------------------------------------------------
Wed Mar 23 21:05:58 UTC 2022 - Fridrich Strba <fstrba@suse.com>

- Build with java source and target levels 8
- Modified patch:
  * fix-build.patch
    + Add a rewrite of function call with ?: into an if/else
      statement, which fixes JDK 17 build

-------------------------------------------------------------------
Thu Mar 17 13:33:54 UTC 2022 - Fridrich Strba <fstrba@suse.com>

- Use the standalone activation api on systems where the JDK
  doesn't include the JavaEE modules

-------------------------------------------------------------------
Wed May 15 07:32:52 UTC 2019 - Fridrich Strba <fstrba@suse.com>

- Initial packaging of powermock 1.6.5
openSUSE Build Service is sponsored by