René's URL Explorer Experiment


Title: build(deps-dev): bump org.mockito:mockito-core from 4.10.0 to 5.0.0 by dependabot[bot] · Pull Request #784 · asterisk-java/asterisk-java · GitHub

Open Graph Title: build(deps-dev): bump org.mockito:mockito-core from 4.10.0 to 5.0.0 by dependabot[bot] · Pull Request #784 · asterisk-java/asterisk-java

X Title: build(deps-dev): bump org.mockito:mockito-core from 4.10.0 to 5.0.0 by dependabot[bot] · Pull Request #784 · asterisk-java/asterisk-java

Description: Bumps org.mockito:mockito-core from 4.10.0 to 5.0.0. Release notes Sourced from org.mockito:mockito-core's releases. v5.0.0 Mockito 5: prepare for future JDK versions For a while now, we have seen an increase in problems/incompatibilities with recent versions of the JDK due to our usage of JVM-internal API. Most notably, JDK 17 made some changes which are incompatible with the current subclass mockmaker. Therefore, to prepare for the future of JDK, we are making some core changes to ensure Mockito keeps on working. Switch the default mockmaker to mockito-inline Back in Mockito 2.7.6, we published a new mockmaker based on the "inline bytecode" principle. This mockmaker creates mocks manipulating bytecode equivalent within the original class such that its method implementations hook into the normal Mockito machinery. As a comparison, the subclass mockmaker generates "real" subclasses for mocks, to mimic the same behavior. While the approaches are similar, the inline mockmaker avoids certain restrictions that the JDK imposes. For example, it does not violate module boundaries (introduced in JDK 9, but more heavily used in JDK 17) and avoids the leaking of the creation of the subclass. Massive thanks to community member @​reta who implemented this change. Note: this does not affect mockito-android nor testing on Android. When should I still be using the subclass mockmaker? There are legitimate remaining use cases for the subclass mockmaker. For example, on the Graal VM's native image, the inline mockmaker will not work and the subclass mockmaker is the appropriate choice. Additionally, if you would like to avoid mocking final classes, using the subclass mockmaker is a possibibility. Note however that if you solely want to use the subclass mockmaker to avoid mocking final, you will run into the above mentioned issues on JDK 17+. We want to leave this choice up to our users, which is why we will keep on supporting the subclass mockmaker. If you want to use the subclass mockmaker instead, you can use the new mockito-subclass artifact (published on Maven Central along with all our other artifacts). Update the minimum supported Java version to 11 Mockito 4 supports Java 8 and above. Similar to other open source projects, we are moving away from JDK 8 and to newer versions. The primary reason for moving away from JDK 8 is the increasing maintenance costs with keeping our own infrastructure working. Lately we have been running into more and more JDK 8 breakages. Additionally, while we want to support the newest JDK API's, our current solution to support both JDK 8 and newer versions causes issues with the SecurityManager. Since we want Mockito to work on the newest version and more and more businesses adopting JDK 11, we have decided to make the switch as well. Massive thanks to community member @​reta who implemented this change. What should I do if I still run JDK 8? For JDK 8 and below, you can keep on using Mockito 4. This is similar to if you are using JDK 6, for which you can keep on using Mockito 2. The changes in Mockito 5 (for now) are primarily focused on the latest JDK versions, which means the API differences between Mockito 4 and 5 are minimal. However, over time this will most likely widen, so we do recommend adopting JDK 11 in the future. New type() method on ArgumentMatcher One of our most used public API's for customizing Mockito is the ArgumentMatcher interface. ... (truncated) Commits adf528d Bump versions.bytebuddy from 1.12.21 to 1.12.22 (#2864) 2418419 Bump versions.junitJupiter from 5.9.1 to 5.9.2 (#2858) 3d40cd5 Bump junit-platform-launcher from 1.9.1 to 1.9.2 (#2859) 9bec8e3 Bump versions.errorprone from 2.17.0 to 2.18.0 (#2857) a9595f5 Switch the default mockmaker to the inline mockmaker on JDK 17+ (#2834) c5d7fbc Bump assertj-core from 3.23.1 to 3.24.1 (#2854) dbd7f2f Bump versions.bytebuddy from 1.12.20 to 1.12.21 (#2852) 4d62fa7 Bump junit from 1.1.4 to 1.1.5 (#2850) b1b6d6a Bump espresso-core from 3.5.0 to 3.5.1 (#2849) 7b5b8dd Remove use case for non-existent method VerificationWithTimeout#never (#2848) Additional commits viewable in compare view Most Recent Ignore Conditions Applied to This Pull Request Dependency Name Ignore Conditions org.mockito:mockito-core [>= 5.a, < 6] You can trigger a rebase of this PR by commenting @dependabot rebase. Dependabot commands and options You can trigger Dependabot actions by commenting on this PR: @dependabot rebase will rebase this PR @dependabot recreate will recreate this PR, overwriting any edits that have been made to it @dependabot show ignore conditions will show all of the ignore conditions of the specified dependency @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Open Graph Description: Bumps org.mockito:mockito-core from 4.10.0 to 5.0.0. Release notes Sourced from org.mockito:mockito-core's releases. v5.0.0 Mockito 5: prepare for future JDK versions For a while now, we have...

X Description: Bumps org.mockito:mockito-core from 4.10.0 to 5.0.0. Release notes Sourced from org.mockito:mockito-core&#39;s releases. v5.0.0 Mockito 5: prepare for future JDK versions For a while now, we ...

Opengraph URL: https://github.com/asterisk-java/asterisk-java/pull/784

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:318c98b2-5567-d17c-c455-67cba04ab97e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id84BC:19CBCC:276F5C:347280:6AFD26D4
html-safe-nonce03c20515f5abc44de18f1619a199f8ad52a1c2ff70884bbb69737a15b1f61462
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NEJDOjE5Q0JDQzoyNzZGNUM6MzQ3MjgwOjZBRkQyNkQ0IiwidmlzaXRvcl9pZCI6IjU5OTQwNDc2MTEyNDQxOTM0OTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacd0db40a70e70b5aa931bebc47899287c71796c09c8852a64eab6e68fde93013d
hovercard-subject-tagpull_request:3520737336
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/asterisk-java/asterisk-java/pull/784/files
twitter:imagehttps://avatars.githubusercontent.com/in/29110?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/in/29110?s=400&v=4
og:image:altBumps org.mockito:mockito-core from 4.10.0 to 5.0.0. Release notes Sourced from org.mockito:mockito-core's releases. v5.0.0 Mockito 5: prepare for future JDK versions For a while now, we have...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None065128366c233a9d57ff68ab6c96e25b99dd1b0ab70d23b70873d3dd6b5e4f19
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/asterisk-java/asterisk-java git https://github.com/asterisk-java/asterisk-java.git
octolytics-dimension-user_id12164530
octolytics-dimension-user_loginasterisk-java
octolytics-dimension-repository_id1195396
octolytics-dimension-repository_nwoasterisk-java/asterisk-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1195396
octolytics-dimension-repository_network_root_nwoasterisk-java/asterisk-java
turbo-body-classeslogged-out env-production page-responsive
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release941021edf0c2ec58298f4a2c8f27ae507d129c92
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/asterisk-java/asterisk-java/pull/784/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fasterisk-java%2Fasterisk-java%2Fpull%2F784%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fasterisk-java%2Fasterisk-java%2Fpull%2F784%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=asterisk-java%2Fasterisk-java
Reloadhttps://github.com/asterisk-java/asterisk-java/pull/784/files
Reloadhttps://github.com/asterisk-java/asterisk-java/pull/784/files
Reloadhttps://github.com/asterisk-java/asterisk-java/pull/784/files
asterisk-javahttps://github.com/asterisk-java
asterisk-javahttps://github.com/asterisk-java/asterisk-java
Codehttps://github.com/asterisk-java/asterisk-java
Issues25 (25)https://github.com/asterisk-java/asterisk-java/issues
Pull requests9 (9)https://github.com/asterisk-java/asterisk-java/pulls
Discussionshttps://github.com/asterisk-java/asterisk-java/discussions
Actionshttps://github.com/asterisk-java/asterisk-java/actions
Wikihttps://github.com/asterisk-java/asterisk-java/wiki
Security and qualityhttps://github.com/asterisk-java/asterisk-java/security
Insightshttps://github.com/asterisk-java/asterisk-java/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fasterisk-java%2Fasterisk-java%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fasterisk-java%2Fasterisk-java%2Fissues%2Fnew%2Fchoose
dependabothttps://github.com/apps/dependabot
mainhttps://github.com/asterisk-java/asterisk-java/tree/main
dependabot/maven/org.mockito-mockito-core-5.0.0https://github.com/asterisk-java/asterisk-java/tree/dependabot/maven/org.mockito-mockito-core-5.0.0
Conversation 0 https://github.com/asterisk-java/asterisk-java/pull/784
Commits 1 https://github.com/asterisk-java/asterisk-java/pull/784/commits
Checks 3 https://github.com/asterisk-java/asterisk-java/pull/784/checks
Files changed https://github.com/asterisk-java/asterisk-java/pull/784/files
Please reload this pagehttps://github.com/asterisk-java/asterisk-java/pull/784/files
build(deps-dev): bump org.mockito:mockito-core from 4.10.0 to 5.0.0 https://github.com/asterisk-java/asterisk-java/pull/784/files#top
Show all changes 1 commit https://github.com/asterisk-java/asterisk-java/pull/784/files
e9dc809 build(deps-dev): bump org.mockito:mockito-core from 4.10.0 to 5.0.0 dependabot[bot] Apr 13, 2026 https://github.com/asterisk-java/asterisk-java/pull/784/commits/e9dc809b8fe1cff567ce6c15adafb2bd73b4a4fa
Clear filters https://github.com/asterisk-java/asterisk-java/pull/784/files
Please reload this pagehttps://github.com/asterisk-java/asterisk-java/pull/784/files
Please reload this pagehttps://github.com/asterisk-java/asterisk-java/pull/784/files
pom.xmlhttps://github.com/asterisk-java/asterisk-java/pull/784/files#diff-9c5fb3d1b7e3b0f54bc5c4182965c4fe1f9023d449017cece3005d3f90e8e4d8
View file https://github.com/asterisk-java/asterisk-java/blob/e9dc809b8fe1cff567ce6c15adafb2bd73b4a4fa/pom.xml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/asterisk-java/asterisk-java/pull/784/{{ revealButtonHref }}
https://github.com/asterisk-java/asterisk-java/pull/784/files#diff-9c5fb3d1b7e3b0f54bc5c4182965c4fe1f9023d449017cece3005d3f90e8e4d8
https://github.com/asterisk-java/asterisk-java/pull/784/files#diff-9c5fb3d1b7e3b0f54bc5c4182965c4fe1f9023d449017cece3005d3f90e8e4d8
Please reload this pagehttps://github.com/asterisk-java/asterisk-java/pull/784/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.