Skip to content

Deprecation: Mockito is currently self-attaching to enable the inline-mock-maker #221

@makampf

Description

@makampf
#15 558.3 FhirGatewayApplicationTests > contextLoads() STANDARD_ERROR
#15 558.3     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
#15 561.6     WARNING: A Java agent has been loaded dynamically (/home/gradle/.gradle/caches/modules-2/files-2.1/net.bytebuddy/byte-buddy-agent/1.17.6/17b32fd9f57deef02842f7f05abc4ad8127fe34e/byte-buddy-agent-1.17.6.jar)
#15 561.6     WARNING: If a serviceability tool is in use, please run with -XX:+EnableDynamicAgentLoading to hide this warning
#15 561.6     WARNING: If a serviceability tool is not in use, please run with -Djdk.instrument.traceUsage for more information
#15 561.6     WARNING: Dynamic loading of agents will be disallowed by default in a future release

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions