-
Notifications
You must be signed in to change notification settings - Fork 873
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove unshaded javax.annotation classes from bootstrap class loader #4454
Conversation
Did this come in with a transitive? I know we did our migration recently but thought it was compileOnly |
oh good point, i see it's |
@trask At the same time you can move it into java-conventions where it was supposed to be :P |
yup, fixing that now |
@@ -22,6 +22,7 @@ | |||
|
|||
package io.opentelemetry.instrumentation.rxjava2; | |||
|
|||
import io.opentelemetry.api.internal.GuardedBy; |
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.
Can you copy this into instrumentation api instead?
…pen-telemetry#4454) * Fix shading * Revert "Fix shading" This reverts commit 2aad3cf. * Make javax.annotations compileOnly * Replace checker GuardedBy with otel api internal GuardedBy * Fix build * Fix errorprone failures * Remove extra newline * Move internal GuardedBy to instrumentation-api * empty commit * empty commit
This probably deserves a 1.7.1 patch unless there's reason to believe that since they're just annotations they shouldn't cause problems.
Created issue #4455 to add a test to guard against this.