Skip to content

warnings about illegal reflective access #659

Description

@alexanderkjall

When running my tests with Oracle Java 10 I get warnings like this:

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.testcontainers.shaded.io.netty.util.internal.ReflectionUtil (file:/home/capitol/.gradle/caches/modules-2/files-2.1/org.testcontainers/testcontainers/1.7.1/3a8d198f3b7cafa3c08d8edee7f4f370ccee1526/testcontainers-1.7.1.jar) to constructor java.nio.DirectByteBuffer(long,int)
WARNING: Please consider reporting this to the maintainers of org.testcontainers.shaded.io.netty.util.internal.ReflectionUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions