GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — deps: Upgrade Google Http Java Client to v2.0.2 by lqiu96 · Pull Request #3946 · googleapis/sdk-platform-java

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

Conversation

@lqiu96

@lqiu96 lqiu96 commented Oct 15, 2025

Copy link
Copy Markdown
Member

No description provided.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@lqiu96
deps: Upgrade Google Http Java Client to v2.0.2
35bfc6b
@product-auto-label product-auto-label Bot added the size: xs Pull request size is extra small. label Oct 15, 2025
@gemini-code-assist

gemini-code-assist Bot commented Oct 15, 2025

Copy link
Copy Markdown
Contributor

Summary of Changes

Hello @lqiu96, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request focuses on updating a core dependency, the Google HTTP Java Client, to its latest version, 2.0.2. This upgrade is crucial for ensuring the project leverages the most current features, security patches, and performance improvements offered by the library, thereby enhancing overall stability and compatibility within the system.

Highlights

  • Dependency Upgrade: The google.http-client.version dependency has been upgraded from 1.47.1 to 2.0.2 in the parent POM.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution. ↩

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

gemini-code-assist[bot]
gemini-code-assist Bot reviewed Oct 15, 2025
View reviewed changes

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Code Review

This pull request proposes to upgrade the google-http-client dependency from version 1.47.1 to 2.0.2. This is a major version upgrade. My review has identified a critical issue with this change. The target version 2.0.2 for com.google.http-client:google-http-client-bom does not appear to exist in public Maven repositories, which will cause the build to fail. Furthermore, even if the version existed, google-http-client 2.x versions would likely require Java 11 or newer, but this project is configured to compile for Java 8. This would lead to runtime errors. Therefore, this upgrade cannot be merged as is.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread gapic-generator-java-pom-parent/pom.xml
<grpc.version>1.71.0</grpc.version>
<google.auth.version>1.39.1</google.auth.version>
<google.http-client.version>1.47.1</google.http-client.version>
<google.http-client.version>2.0.2</google.http-client.version>

@gemini-code-assist gemini-code-assist Bot Oct 15, 2025

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

critical

This version upgrade is problematic for two main reasons:

  1. Non-existent version: The version 2.0.2 for com.google.http-client:google-http-client-bom does not seem to be published to Maven Central. This will cause a build failure due to an unresolved dependency. The latest available version for this artifact is 1.47.1.

  2. Java version incompatibility: This is a major version upgrade. Google client libraries with a 2.x version typically require Java 11 or higher. This project is configured with <maven.compiler.release>8</maven.compiler.release>, targeting Java 8. Using a Java 11+ library in a Java 8 project would result in a java.lang.UnsupportedClassVersionError at runtime.

Due to these critical issues, this version should be reverted to 1.47.1.

Suggested change
<google.http-client.version>2.0.2</google.http-client.version>
<google.http-client.version>1.47.1</google.http-client.version>

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@lqiu96
Merge branch 'main' into upgrade-http-client
b011e7f
@sonarqubecloud

sonarqubecloud Bot commented Oct 16, 2025

Copy link
Copy Markdown

Quality Gate Passed Quality Gate passed for 'gapic-generator-java-root'

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@sonarqubecloud

sonarqubecloud Bot commented Oct 16, 2025

Copy link
Copy Markdown

Quality Gate Passed Quality Gate passed for 'java_showcase_integration_tests'

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

mpeddada1
mpeddada1 approved these changes Oct 16, 2025
View reviewed changes
@lqiu96
lqiu96 merged commit 7fb4f15 into main Oct 16, 2025
@lqiu96
lqiu96 deleted the upgrade-http-client branch October 16, 2025 14:41
@release-please release-please Bot mentioned this pull request Oct 16, 2025
chore(main): release 2.63.0 #3927
Merged
lqiu96 pushed a commit that referenced this pull request Oct 16, 2025
@release-please
chore(main): release 2.63.0 (#3927)
6473668
🤖 I have created a release *beep* *boop*
---


<details><summary>2.63.0</summary>

##
[2.63.0](v2.62.3...v2.63.0)
(2025-10-16)


### Features

* **librariangen:** add bazel package
([#3940](#3940))
([feabef3](feabef3))
* **librariangen:** add execv package
([#3932](#3932))
([f6b0b47](f6b0b47))
* **librariangen:** add protoc package
([#3935](#3935))
([598de06](598de06))
* **librariangen:** add request package
([#3933](#3933))
([fe44aed](fe44aed))
* **librariangen:** scaffold Java language container for Librarian
([#3926](#3926))
([29d188d](29d188d))


### Dependencies

* Bump errorprone-annotations to v2.42.0
([8d6c1f9](8d6c1f9))
* Bump guava to v33.5.0
([8d6c1f9](8d6c1f9))
* Bump j2objc-annotations to v3.1
([8d6c1f9](8d6c1f9))
* update google auth library dependencies to v1.40.0
([#3945](#3945))
([1d74663](1d74663))
* Upgrade Google Http Java Client to v2.0.2
([#3946](#3946))
([7fb4f15](7fb4f15))
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
@release-please release-please Bot mentioned this pull request Dec 11, 2025
chore(protobuf-4.x-rc): release 2.65.0-rc1 #3999
Merged
lqiu96 added a commit that referenced this pull request Feb 12, 2026
@lqiu96
deps: Upgrade Google Http Java Client to v2.0.2 (#3946)
1d4172e
lqiu96 pushed a commit that referenced this pull request Feb 12, 2026
@release-please @lqiu96
chore(main): release 2.63.0 (#3927)
48954a4
🤖 I have created a release *beep* *boop*
---


<details><summary>2.63.0</summary>

##
[2.63.0](v2.62.3...v2.63.0)
(2025-10-16)


### Features

* **librariangen:** add bazel package
([#3940](#3940))
([feabef3](feabef3))
* **librariangen:** add execv package
([#3932](#3932))
([f6b0b47](f6b0b47))
* **librariangen:** add protoc package
([#3935](#3935))
([598de06](598de06))
* **librariangen:** add request package
([#3933](#3933))
([fe44aed](fe44aed))
* **librariangen:** scaffold Java language container for Librarian
([#3926](#3926))
([29d188d](29d188d))


### Dependencies

* Bump errorprone-annotations to v2.42.0
([8d6c1f9](8d6c1f9))
* Bump guava to v33.5.0
([8d6c1f9](8d6c1f9))
* Bump j2objc-annotations to v3.1
([8d6c1f9](8d6c1f9))
* update google auth library dependencies to v1.40.0
([#3945](#3945))
([1d74663](1d74663))
* Upgrade Google Http Java Client to v2.0.2
([#3946](#3946))
([7fb4f15](7fb4f15))
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
chingor13 pushed a commit to googleapis/google-cloud-java that referenced this pull request Mar 24, 2026
@release-please
chore(main): release 2.63.0 (#3927)
588b428
🤖 I have created a release *beep* *boop*
---


<details><summary>2.63.0</summary>

##
[2.63.0](googleapis/sdk-platform-java@v2.62.3...v2.63.0)
(2025-10-16)


### Features

* **librariangen:** add bazel package
([#3940](googleapis/sdk-platform-java#3940))
([d6bd0e0](googleapis/sdk-platform-java@d6bd0e0))
* **librariangen:** add execv package
([#3932](googleapis/sdk-platform-java#3932))
([7fc08a5](googleapis/sdk-platform-java@7fc08a5))
* **librariangen:** add protoc package
([#3935](googleapis/sdk-platform-java#3935))
([c3f7b9f](googleapis/sdk-platform-java@c3f7b9f))
* **librariangen:** add request package
([#3933](googleapis/sdk-platform-java#3933))
([c478a98](googleapis/sdk-platform-java@c478a98))
* **librariangen:** scaffold Java language container for Librarian
([#3926](googleapis/sdk-platform-java#3926))
([aec74aa](googleapis/sdk-platform-java@aec74aa))


### Dependencies

* Bump errorprone-annotations to v2.42.0
([4fa48a2](googleapis/sdk-platform-java@4fa48a2))
* Bump guava to v33.5.0
([4fa48a2](googleapis/sdk-platform-java@4fa48a2))
* Bump j2objc-annotations to v3.1
([4fa48a2](googleapis/sdk-platform-java@4fa48a2))
* update google auth library dependencies to v1.40.0
([#3945](googleapis/sdk-platform-java#3945))
([4b2c98e](googleapis/sdk-platform-java@4b2c98e))
* Upgrade Google Http Java Client to v2.0.2
([#3946](googleapis/sdk-platform-java#3946))
([89d518c](googleapis/sdk-platform-java@89d518c))
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

2 more reviewers
@gemini-code-assist gemini-code-assist[bot] gemini-code-assist[bot] left review comments
@mpeddada1 mpeddada1 mpeddada1 approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

size: xs Pull request size is extra small.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@lqiu96 @mpeddada1
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.