-
Notifications
You must be signed in to change notification settings - Fork 56
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
Otel Java Instrumentation not working in JDK23 #951
Comments
Thanks for reporting the issue, we will look into it. |
Just to clarify, it's not a new problem introduced in the new version. I tested 1.32.4 and it didn't work with JDK23. |
I was using 1.28.1 with JDK17, no issues observed. Does that mean otel is not yet compatible with JDK23? |
ADOT SDK is currently based on I see the latest OTEL SDK is JDK23 compatible: https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/12329/files. I believe it's an issue with |
what is the timeline for JDK23 compatibility issue fix for the ADOT libs? |
We will update here once we have a clear timeline. |
We plan to release a new version with JDK23 support in late December or early January. |
Describe the bug
AWS Otel java instrumentation v1.32.5 looks to be not compatible with JDK23. OpenTelemetry Javaagent failed to start.
Steps to reproduce
Test Application
To Run Open Telemetry
What did you expect to see?
OpenTelemetry agent up & running without any initialization issue.
Expected Output
What did you see instead?
OpenTelemetry agent failed to start
Additional context
If I apply the workaround, it works. But It will be unlikely that the workaround will be accepted in the production code base.
Workaround
export JDK_JAVA_OPTIONS="--add-opens java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED"
The text was updated successfully, but these errors were encountered: