Skip to content

Comments

Port OtelDeprecatedApiUsage ErrorProne check from core repo#2627

Closed
Copilot wants to merge 3 commits intomainfrom
copilot/port-opentelemetry-java-pr-8061
Closed

Port OtelDeprecatedApiUsage ErrorProne check from core repo#2627
Copilot wants to merge 3 commits intomainfrom
copilot/port-opentelemetry-java-pr-8061

Conversation

Copy link
Contributor

Copilot AI commented Feb 13, 2026

And start enforcing UnnecessarilyFullyQualified errorprone check

This ports open-telemetry/opentelemetry-java#8061 to opentelemetry-java-contrib.

- Created custom-checks module with OtelDeprecatedApiUsage ErrorProne check
- Added comprehensive test suite for the check
- Registered the check with ErrorProne via META-INF/services
- Updated buildSrc to include custom-checks dependency
- Disabled -Xlint:deprecation in favor of the custom check
- Added error_prone_test_helpers to dependency management

Co-authored-by: trask <218610+trask@users.noreply.github.com>
Copilot AI changed the title [WIP] Port changes from OpenTelemetry Java PR 8061 Port OtelDeprecatedApiUsage ErrorProne check from core repo Feb 13, 2026
Copilot AI requested a review from trask February 13, 2026 16:51
@trask trask force-pushed the copilot/port-opentelemetry-java-pr-8061 branch from 2953a39 to 534d3ef Compare February 13, 2026 18:45
@github-actions github-actions bot requested a review from atoulme February 13, 2026 18:45
@trask trask force-pushed the copilot/port-opentelemetry-java-pr-8061 branch from 534d3ef to 6382264 Compare February 13, 2026 18:55
@trask trask closed this Feb 13, 2026
@trask trask reopened this Feb 13, 2026
@trask trask closed this Feb 13, 2026
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.

2 participants