Skip to content
This repository was archived by the owner on Apr 5, 2023. It is now read-only.
This repository was archived by the owner on Apr 5, 2023. It is now read-only.

Build-time warning tagged as error #76

Open
@trbehera

Description

@trbehera

While building the source code, we get some maven warnings (noted as ERROR) when it encounters reflective access. The build status is not impacted and the output binary artifacts are generated. The issue is because of a recent upgrade to powermock package.

aio_builder | [INFO] Running TestSuite
aio_builder | [ERROR] WARNING: An illegal reflective access operation has occurred
aio_builder | [ERROR] WARNING: Illegal reflective access by org.powermock.reflect.internal.WhiteboxImpl (file:/home/sdouser/.m2/repository/org/powermock/powermock-reflect/2.0.7/powermock-reflect-2.0.7.jar) to method java.util.Collections.get(java.util.ListIterator,int)
aio_builder | [ERROR] WARNING: Please consider reporting this to the maintainers of org.powermock.reflect.internal.WhiteboxImpl
aio_builder | [ERROR] WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
aio_builder | [ERROR] WARNING: All illegal access operations will be denied in a future release
aio_builder | [TestNGContentHandler] [WARN] It is strongly recommended to add "" at the top of the suite file [/home/sdouser/rendezvous-service/src/test/resources/testng.xml] otherwise TestNG may fail or not work as expected.

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