[
https://issues.apache.org/jira/browse/CAMEL-26103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18136057#comment-18136057
]
Claus Ibsen commented on CAMEL-26103:
-------------------------------------
Fixed via https://github.com/apache/camel/pull/28782
_Claude Code on behalf of Claus Ibsen_
> camel-test-dst - load the instrumentation agent with -javaagent instead of a
> runtime attach
> -------------------------------------------------------------------------------------------
>
> Key: CAMEL-26103
> URL: https://issues.apache.org/jira/browse/CAMEL-26103
> Project: Camel
> Issue Type: Improvement
> Components: camel-test
> Reporter: shashank
> Assignee: shashank
> Priority: Minor
> Fix For: 4.24.0
>
>
> camel-test-dst attaches its byte code agent at runtime (as Mockito's inline
> mock maker does). The JDK warns about dynamic agent loading and plans to
> disallow it by default (JEP 451). Load the agent with {{-javaagent}} in the
> surefire {{argLine}} of the modules that have DST worlds instead, as proposed
> in CAMEL-25911 and on dev@ ("[DISCUSS] An internal time source in
> camel-util").
> Follow-up of CAMEL-25911.
> _Filed with Claude Code on behalf of allthingssecurity._
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)