Skip to content

Conversation

@breedx-splk
Copy link
Contributor

Because bytes are signed in java, when we use the TraceFlags.asByte() we need to make sure we mask off the lower 8 bits correctly, otherwise the sign bit will propagate. Yup.

Copy link
Contributor

@LikeTheSalad LikeTheSalad left a comment

Choose a reason for hiding this comment

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

Looks good!

@trask trask merged commit 4a0e0c5 into open-telemetry:main Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment