open-telemetry / open-telemetry/opentelemetry-java-contrib
Remove Unsafe usage in aws-xray module
@wangzlei is already working on this.
Since Apr 29, 2026.
- Dominant language
- Java
- Stars
- 269
- Forks
- 196
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 38
Description
Component(s)
aws-xray
Is your feature request related to a problem? Please describe.
See https://github.com/open-telemetry/opentelemetry-java-contrib/pull/2397#pullrequestreview-3392054192:
you should consider whether you wish to use caffeine in https://github.com/open-telemetry/opentelemetry-java-contrib/blob/077cd6ee15a3c5f5938484c90745f80eac66ce95/aws-xray/build.gradle.kts#L29. Version 3 requires java 11, version 2 uses sun.misc.Unsafe that will stop working in default configuration in jdk 26.
Describe the solution you'd like
Remove Unsafe usage
Describe alternatives you've considered
No response
Additional context
No response
Tip
React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.