Skip to content

GH-3383: Modernize mockito#3384

Merged
wgtmac merged 6 commits into
apache:masterfrom
dossett:mockito5
Feb 27, 2026
Merged

GH-3383: Modernize mockito#3384
wgtmac merged 6 commits into
apache:masterfrom
dossett:mockito5

Conversation

@dossett

@dossett dossett commented Jan 1, 2026

Copy link
Copy Markdown
Contributor

Closes #3383

  • Substantially upgrades mockito
  • drop use of powermock in favor of new mockito functionality
  • replace a single use of easymock with mockito functionality

Comment thread parquet-column/pom.xml
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-core</artifactId>

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For reasons I don't understand this started getting flagged as an undeclared dependency. This seems correct, but I don't know why it wasn't getting flagged before.

@Fokko Fokko left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh wow, that is a big jump! Thanks for modernizing this

@dossett dossett changed the title Modernize mockito [GH-3383] Modernize mockito Jan 14, 2026
@wgtmac wgtmac changed the title [GH-3383] Modernize mockito GH-3383: Modernize mockito Feb 27, 2026
@wgtmac

wgtmac commented Feb 27, 2026

Copy link
Copy Markdown
Member

Thanks @dossett for improving this and @Fokko for the review!

@wgtmac wgtmac merged commit 6c7cefd into apache:master Feb 27, 2026
5 checks passed
prtkgaur pushed a commit to prtkgaur/parquet-java that referenced this pull request Mar 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

mockito should be upgrade to 5.x

3 participants