[ 
https://issues.apache.org/jira/browse/OAK-11975?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rishabh Daim reassigned OAK-11975:
----------------------------------

    Assignee:     (was: Rishabh Daim)

> Use Mockito as an agent in Oak
> ------------------------------
>
>                 Key: OAK-11975
>                 URL: https://issues.apache.org/jira/browse/OAK-11975
>             Project: Jackrabbit Oak
>          Issue Type: Task
>            Reporter: Rishabh Daim
>            Priority: Major
>
> Getting the below warning while running ITs tests in Oak:
> {quote}
> {color:#616161}Mockito is currently self-attaching to enable the 
> inline-mock-maker. This will no longer work in future releases of the JDK. 
> Please add Mockito as an agent to your build as described in Mockito's 
> documentation: 
> https://javadoc.io/doc/org.mockito/mockito-core/latest/org.mockito/org/mockito/Mockito.html#0.3{color}
> {color:#616161}WARNING: A Java agent has been loaded dynamically 
> (/Users/diam/.m2/repository/net/bytebuddy/byte-buddy-agent/1.17.7/byte-buddy-agent-1.17.7.jar){color}
> {color:#616161}WARNING: If a serviceability tool is in use, please run with 
> -XX:+EnableDynamicAgentLoading to hide this warning{color}
> {color:#616161}WARNING: If a serviceability tool is not in use, please run 
> with -Djdk.instrument.traceUsage for more information{color}
> {color:#616161}WARNING: Dynamic loading of agents will be disallowed by 
> default in a future release{color}
> {quote}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to