FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

deps: override grpc-gcp version to 1.9.0 to fix NoSuchMethodError by rahul2393 · Pull Request #2327 · googleapis/java-spanner-jdbc · GitHub

This repository was archived by the owner on Mar 26, 2026. It is now read-only.

deps: override grpc-gcp version to 1.9.0 to fix NoSuchMethodError - #2327

Closed
rahul2393 wants to merge 1 commit into
mainfrom
fix-old-bom-version
Closed

deps: override grpc-gcp version to 1.9.0 to fix NoSuchMethodError#2327
rahul2393 wants to merge 1 commit into
mainfrom
fix-old-bom-version

Conversation

rahul2393 commented Dec 16, 2025
edited
Loading

Copy link
Copy Markdown
Contributor

The google-cloud-shared-dependencies BOM (via sdk-platform-java-config parent)
manages grpc-gcp to version 1.6.1, which overrides the 1.9.0 version declared
by google-cloud-spanner 6.105.0.

This causes NoSuchMethodError for setInitSize(int) method in
GcpChannelPoolOptions.Builder, which was added in grpc-gcp 1.7.0 as part
of the dynamic channel pool scaling feature.

The fix explicitly declares grpc-gcp 1.9.0 in dependencyManagement to
ensure the correct version is used.

rahul2393 requested review from a team December 16, 2025 19:04
product-auto-label Bot added size: xs Pull request size is extra small. api: spanner Issues related to the googleapis/java-spanner-jdbc API. labels Dec 16, 2025
rahul2393 requested a review from olavloite December 16, 2025 19:07
rahul2393 added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Dec 16, 2025
rahul2393 closed this Dec 16, 2025

Copy link
Copy Markdown
Contributor Author

Changes are ported here #2326

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: spanner Issues related to the googleapis/java-spanner-jdbc API. do not merge Indicates a pull request not ready for merge, due to either quality or timing. size: xs Pull request size is extra small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL