Chesnay Schepler created FLINK-12065:
----------------------------------------
Summary: E2E tests fail due to illegal-access warning on Java 9
Key: FLINK-12065
URL: https://issues.apache.org/jira/browse/FLINK-12065
Project: Flink
Issue Type: Sub-task
Components: Tests
Affects Versions: 1.9.0
Reporter: Chesnay Schepler
When accessing inaccessible fields via reflection a warning is printed on Java
9 like below:
{code}
WARNING: An illegal reflective access operation has occurred
WARNING: All illegal access operations will be denied in a future release
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by
org.apache.flink.core.memory.HybridMemorySegment
(file:/home/travis/build/zentol/flink/flink-dist/target/flink-1.9-SNAPSHOT-bin/flink-1.9-SNAPSHOT/lib/flink-dist_2.11-1.9-SNAPSHOT.jar)
to field java.nio.Buffer.address
{code}
These are printed into the .out file of the processes, and cause e2e tests to
fail since we check for empty .out files.
>From what I've gathered we cannot disable these warnings, so we'll have to
>adapt the check to ignore these.
We can't just fix these accesses since they also occur in libraries (like
akka's netty)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)