shashank created CAMEL-26103:
--------------------------------

             Summary: 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


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)

Reply via email to