Tracer Version(s)
1.54.0
Java Version(s)
25.0.1+8.0.LTS
JVM Vendor
Eclipse Adoptium / Temurin
Bug Report
When running dd-agent with Java 25 we get the following warning:
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by com.kenai.jffi.internal.StubLoader in an unnamed module (file:/usr/local/datadog-agent.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled
From my understanding this won't affect the functionality of the tracer agent right now. But in future versions of Java this might be blocked instead of a warning.
Addiotionally for us using --enable-native-access isn't an option as it might weaken security.
I don't know if migrating from JFFI to Javas Panama would be a viable option?
Expected Behavior
Running dd-agent in Java 25 without the warning.
Reproduction Code
No response
Tracer Version(s)
1.54.0
Java Version(s)
25.0.1+8.0.LTS
JVM Vendor
Eclipse Adoptium / Temurin
Bug Report
When running dd-agent with Java 25 we get the following warning:
From my understanding this won't affect the functionality of the tracer agent right now. But in future versions of Java this might be blocked instead of a warning.
Addiotionally for us using
--enable-native-accessisn't an option as it might weaken security.I don't know if migrating from JFFI to Javas Panama would be a viable option?
Expected Behavior
Running dd-agent in Java 25 without the warning.
Reproduction Code
No response