René's URL Explorer Experiment


Title: JDK 24 support and Mockito · Issue #2460 · googleapis/java-pubsub · GitHub

Open Graph Title: JDK 24 support and Mockito · Issue #2460 · googleapis/java-pubsub

X Title: JDK 24 support and Mockito · Issue #2460 · googleapis/java-pubsub

Description: Seeing a PublisherImplTest.testShutDown:1035 » IllegalArgument Could not create type error that seems related to this dependency update as the referenced line is related to mocking the Publisher. @michaelpri10 Easymock 5.6.0 actually has...

Open Graph Description: Seeing a PublisherImplTest.testShutDown:1035 » IllegalArgument Could not create type error that seems related to this dependency update as the referenced line is related to mocking the Publisher. @...

X Description: Seeing a PublisherImplTest.testShutDown:1035 » IllegalArgument Could not create type error that seems related to this dependency update as the referenced line is related to mocking the Publisher. @...

Opengraph URL: https://github.com/googleapis/java-pubsub/issues/2460

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"JDK 24 support and Mockito","articleBody":"\u003e Seeing a `PublisherImplTest.testShutDown:1035 » IllegalArgument Could not create type` error that seems related to this dependency update as the [referenced line](https://github.com/googleapis/java-pubsub/blob/11ccef38a5c006b3810cff03d4030bfebbff66ea/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/PublisherImplTest.java#L1035) is related to mocking the Publisher.\r\n\r\n@michaelpri10 Easymock 5.6.0 actually has the fix for this very error (updating byte-buddy) - see https://github.com/easymock/easymock/issues/673\r\n\r\nHowever this transitive byte-buddy version was not picked up because `mockito` is declared _before_ `easymock` in `google-cloud-pubsub/pom.xml`.\r\n\r\nFlipping the order of these two dependencies did the trick.\r\n\r\nEdit: this solution is not ideal. Let's look into upgrading mockito as well, in case it brings a later version of byte-buddy.\r\n\r\n_Originally posted by @diegomarquezp in https://github.com/googleapis/java-pubsub/issues/2069#issuecomment-2963891932_\r\n            ","author":{"url":"https://github.com/diegomarquezp","@type":"Person","name":"diegomarquezp"},"datePublished":"2025-06-17T18:30:28.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/2460/java-pubsub/issues/2460"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:9eae23db-83f4-db43-08ba-eed99720f169
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9DC0:226374:B6656D:EC39BC:699086F7
html-safe-nonce436a1479b38f4072e2370af89eb3235c06ee4d22c6f24140a8f25ea71b9e2789
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5REMwOjIyNjM3NDpCNjY1NkQ6RUMzOUJDOjY5OTA4NkY3IiwidmlzaXRvcl9pZCI6Ijg0MDA4Mzc5NDY5MTYyNDMxOTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacbb014229db1bf1e8350f75d52a1273245a7e004de0c654d237373c0f8820e0c4
hovercard-subject-tagissue:3154402710
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/googleapis/java-pubsub/2460/issue_layout
twitter:imagehttps://opengraph.githubassets.com/7b14c203db591ab5a0e2a9c920a190f136835f62dd9be328e033d22810e2bcb0/googleapis/java-pubsub/issues/2460
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7b14c203db591ab5a0e2a9c920a190f136835f62dd9be328e033d22810e2bcb0/googleapis/java-pubsub/issues/2460
og:image:altSeeing a PublisherImplTest.testShutDown:1035 » IllegalArgument Could not create type error that seems related to this dependency update as the referenced line is related to mocking the Publisher. @...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamediegomarquezp
hostnamegithub.com
expected-hostnamegithub.com
None42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b
turbo-cache-controlno-preview
go-importgithub.com/googleapis/java-pubsub git https://github.com/googleapis/java-pubsub.git
octolytics-dimension-user_id16785467
octolytics-dimension-user_logingoogleapis
octolytics-dimension-repository_id203461480
octolytics-dimension-repository_nwogoogleapis/java-pubsub
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id203461480
octolytics-dimension-repository_network_root_nwogoogleapis/java-pubsub
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release3b33c5aedc9808f45bc5fcf0b1e4404cf749dac7
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/googleapis/java-pubsub/issues/2460#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fjava-pubsub%2Fissues%2F2460
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fjava-pubsub%2Fissues%2F2460
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=googleapis%2Fjava-pubsub
Reloadhttps://patch-diff.githubusercontent.com/googleapis/java-pubsub/issues/2460
Reloadhttps://patch-diff.githubusercontent.com/googleapis/java-pubsub/issues/2460
Reloadhttps://patch-diff.githubusercontent.com/googleapis/java-pubsub/issues/2460
googleapis https://patch-diff.githubusercontent.com/googleapis
java-pubsubhttps://patch-diff.githubusercontent.com/googleapis/java-pubsub
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fgoogleapis%2Fjava-pubsub
Fork 101 https://patch-diff.githubusercontent.com/login?return_to=%2Fgoogleapis%2Fjava-pubsub
Star 147 https://patch-diff.githubusercontent.com/login?return_to=%2Fgoogleapis%2Fjava-pubsub
Code https://patch-diff.githubusercontent.com/googleapis/java-pubsub
Issues 16 https://patch-diff.githubusercontent.com/googleapis/java-pubsub/issues
Pull requests 26 https://patch-diff.githubusercontent.com/googleapis/java-pubsub/pulls
Actions https://patch-diff.githubusercontent.com/googleapis/java-pubsub/actions
Security 0 https://patch-diff.githubusercontent.com/googleapis/java-pubsub/security
Insights https://patch-diff.githubusercontent.com/googleapis/java-pubsub/pulse
Code https://patch-diff.githubusercontent.com/googleapis/java-pubsub
Issues https://patch-diff.githubusercontent.com/googleapis/java-pubsub/issues
Pull requests https://patch-diff.githubusercontent.com/googleapis/java-pubsub/pulls
Actions https://patch-diff.githubusercontent.com/googleapis/java-pubsub/actions
Security https://patch-diff.githubusercontent.com/googleapis/java-pubsub/security
Insights https://patch-diff.githubusercontent.com/googleapis/java-pubsub/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/googleapis/java-pubsub/issues/2460
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/googleapis/java-pubsub/issues/2460
JDK 24 support and Mockitohttps://patch-diff.githubusercontent.com/googleapis/java-pubsub/issues/2460#top
https://patch-diff.githubusercontent.com/michaelpri10
api: pubsubIssues related to the googleapis/java-pubsub API.https://github.com/googleapis/java-pubsub/issues?q=state%3Aopen%20label%3A%22api%3A%20pubsub%22
priority: p3Desirable enhancement or fix. May not be included in next release.https://github.com/googleapis/java-pubsub/issues?q=state%3Aopen%20label%3A%22priority%3A%20p3%22
https://github.com/diegomarquezp
https://github.com/diegomarquezp
diegomarquezphttps://github.com/diegomarquezp
on Jun 17, 2025https://github.com/googleapis/java-pubsub/issues/2460#issue-3154402710
referenced linehttps://github.com/googleapis/java-pubsub/blob/11ccef38a5c006b3810cff03d4030bfebbff66ea/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/PublisherImplTest.java#L1035
@michaelpri10https://github.com/michaelpri10
easymock/easymock#673https://github.com/easymock/easymock/issues/673
@diegomarquezphttps://github.com/diegomarquezp
#2069 (comment)https://github.com/googleapis/java-pubsub/pull/2069#issuecomment-2963891932
michaelpri10https://patch-diff.githubusercontent.com/michaelpri10
api: pubsubIssues related to the googleapis/java-pubsub API.https://github.com/googleapis/java-pubsub/issues?q=state%3Aopen%20label%3A%22api%3A%20pubsub%22
priority: p3Desirable enhancement or fix. May not be included in next release.https://github.com/googleapis/java-pubsub/issues?q=state%3Aopen%20label%3A%22priority%3A%20p3%22
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.