Skip to content

Explain warning suppressions in the JDK HTTP sender module - #9076

Open
yangjj-iso wants to merge 1 commit into
open-telemetry:mainfrom
yangjj-iso:fix/7874-jdk-sender-warning-suppressions
Open

yangjj-iso wants to merge 1 commit into
open-telemetry:mainfrom
yangjj-iso:fix/7874-jdk-sender-warning-suppressions

Conversation

@yangjj-iso

Copy link
Copy Markdown
Contributor

Related to #7874.

Explain why the JDK sender hands off the response byte array and why Mockito cannot retain the body type from a class token. The change covers the JDK sender module.

Validation: ./gradlew :exporters:sender:jdk:spotlessApply :exporters:sender:jdk:test passed on JDK 26.

Signed-off-by: redyyang <3202137046@qq.com>
@yangjj-iso
yangjj-iso requested a review from a team as a code owner November 29, 2026 13:51
@linux-foundation-easycla

linux-foundation-easycla Bot commented Nov 29, 2026 •

Copy link
Copy Markdown

CLA Signed
The committers listed above are authorized under a signed CLA.

  • ✅ login: yangjj-iso / name: redyyang (2846a8a)

@opentelemetry-pr-dashboard

opentelemetry-pr-dashboard Bot commented Nov 29, 2026 •

Copy link
Copy Markdown

Pull request dashboard status

Waiting on reviewers · refreshed 2026-11-30 03:45 UTC

Review the latest changes.

Status above doesn't look right?
  • Just replied or pushed? Anything around or after the refresh time above may not be picked up yet — give it a few minutes.
  • Should this be with the author? Comment /dashboard route:author to route it back.
  • Anything wrong — including the routing? Report it with what you expected; it helps us improve the dashboard.

@codecov

codecov Bot commented Nov 29, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.56%. Comparing base (a92b644) to head (2846a8a).

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #9076   +/-   ##
=========================================
  Coverage     90.56%   90.56%           
- Complexity    11220    11221    +1     
=========================================
  Files          1032     1032           
  Lines         30599    30599           
  Branches       4010     4010           
=========================================
+ Hits          27711    27713    +2     
  Misses         1913     1913           
+ Partials        975      973    -2     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@yangjj-iso
yangjj-iso force-pushed the fix/7874-jdk-sender-warning-suppressions branch from 029c031 to 2846a8a Compare November 30, 2026 03:15

This branch has not been deployed

No deployments
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.

1 participant