The current version 4.0.0 triggers this warning in openjdk 21:
WARNING: A Java agent has been loaded dynamically (/Users/grantb/.gradle/caches/modules-2/files-2.1/net.bytebuddy/byte-buddy-agent/1.14.19/154da3a65b4f4a909d3e5bdec55d1b2b4cbb6ce1/byte-buddy-agent-1.14.19.jar)
WARNING: If a serviceability tool is in use, please run with -XX:+EnableDynamicAgentLoading to hide this warning
WARNING: If a serviceability tool is not in use, please run with -Djdk.instrument.traceUsage for more information
WARNING: Dynamic loading of agents will be disallowed by default in a future release
There are ways to hide this warning, but that only hides the problem. The last line implies that sometime in the future htis will break.
Is there some way this plugin can run without dynamically loading an agent?
Versions
Test logger version: 4.0.0
Gradle version: 8.10.2
Java version: openjdk 21.0.4 2024-07-16
Type of test being run
JUnit, but that isn't really relevant to the cause.
Description
The current version 4.0.0 triggers this warning in openjdk 21:
There are ways to hide this warning, but that only hides the problem. The last line implies that sometime in the future htis will break.
Is there some way this plugin can run without dynamically loading an agent?
Versions
Type of test being run
JUnit, but that isn't really relevant to the cause.
Test logger configuration
Again, probably not relevant.
Screenshots
Additional information
None