Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.9.0
Description
When accessing inaccessible fields via reflection a warning is printed on Java 9 like below:
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
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)
Attachments
Issue Links
- links to