elastic / elastic/apm-agent-java
sun.misc.Unsafe::arrayBaseOffset has been called by com.lmax.disruptor.RingBufferFields
Open
agent-java
community
- Dominant language
- Java
- Stars
- 594
- Forks
- 338
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 25
Description
## Describe the bug
Running on Java 25 yields the following warning:
```
WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::arrayBaseOffset has been called by com.lmax.disruptor.RingBufferFields (file:/app/agents/elastic-apm-agent.jar)
WARNING: Please consider reporting this to the maintainers of class com.lmax.disruptor.RingBufferFields
WARNING: sun.misc.Unsafe::arrayBaseOffset will be removed in a future release
```
## Steps to reproduce
Start application with Elastic APM Agent attached on Java 25.
## Expected behavior
No warning.
Contributor guide
Assessment
This issue has not been assessed yet.