-
Task
-
Resolution: Fixed
-
L3 - Default
-
None
-
None
-
Not defined
The new Zeebe Import tests give an illegal reflection usage warning via AssertJ. We should resolve this by identifying the offending assertion/dependency and fixing our usage, or creating an issue against AssertJ if it is a bug. It doesn't cause test failures, but the warnings are chatty and might indicate some misuse of the library.
[2021-05-10T21:28:03.720Z] [INFO] Running org.camunda.optimize.service.importing.processdefinition.ZeebeProcessDefinitionImportIT [2021-05-10T21:28:04.290Z] [ERROR] WARNING: An illegal reflective access operation has occurred [2021-05-10T21:28:04.290Z] [ERROR] WARNING: Illegal reflective access by com.esotericsoftware.kryo.unsafe.UnsafeUtil (file:/home/jenkins/agent/workspace/elasticsearch_compatibility/m2-repository/com/esotericsoftware/kryo/5.1.1/kryo-5.1.1.jar) to constructor java.nio.DirectByteBuffer(long,int) [2021-05-10T21:28:04.290Z] [ERROR] WARNING: Please consider reporting this to the maintainers of com.esotericsoftware.kryo.unsafe.UnsafeUtil [2021-05-10T21:28:04.290Z] [ERROR] WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations [2021-05-10T21:28:04.290Z] [ERROR] WARNING: All illegal access operations will be denied in a future release [2021-05-10T21:28:04.861Z] [ERROR] WARNING: An illegal reflective access operation has occurred [2021-05-10T21:28:04.861Z] [ERROR] WARNING: Illegal reflective access by org.assertj.core.util.introspection.FieldUtils (file:/home/jenkins/agent/workspace/elasticsearch_compatibility/m2-repository/org/assertj/assertj-core/3.19.0/assertj-core-3.19.0.jar) to field java.lang.String.value [2021-05-10T21:28:04.861Z] [ERROR] WARNING: Please consider reporting this to the maintainers of org.assertj.core.util.introspection.FieldUtils [2021-05-10T21:28:04.861Z] [ERROR] WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations [2021-05-10T21:28:04.861Z] [ERROR] WARNING: All illegal access operations will be denied in a future release
ATs:
- We no longer see the reflection warnings output when running the Zeebe Definition Import ITs