You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chesnay Schepler (JIRA)" <ji...@apache.org> on 2019/04/24 14:25:00 UTC

[jira] [Closed] (FLINK-12065) E2E tests fail due to illegal-access warning on Java 9

     [ https://issues.apache.org/jira/browse/FLINK-12065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chesnay Schepler closed FLINK-12065.
------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.9.0

master: 2310000b8c66b45c356924e1971a5e5d15714b48

> 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
>            Assignee: Chesnay Schepler
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.9.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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)