You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Stephan Ewen (Jira)" <ji...@apache.org> on 2020/05/15 08:58:00 UTC

[jira] [Closed] (FLINK-17701) Exclude jdk:tools dependency from all Hadoop dependencies for Java 9+ compatibility

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

Stephan Ewen closed FLINK-17701.
--------------------------------

> Exclude jdk:tools dependency from all Hadoop dependencies for Java 9+ compatibility
> -----------------------------------------------------------------------------------
>
>                 Key: FLINK-17701
>                 URL: https://issues.apache.org/jira/browse/FLINK-17701
>             Project: Flink
>          Issue Type: Bug
>          Components: Build System
>            Reporter: Stephan Ewen
>            Assignee: Stephan Ewen
>            Priority: Blocker
>              Labels: pull-request-available
>             Fix For: 1.11.0
>
>
> Hadoop transitively pulls the system dependency {{jdk:tools}} which is not longer available on Java 9+. This causes errors when importing the code into an IDE with runs Java 11.
> This dependency is anyways not needed when running the code, because the classes are always present. It can be safely excluded form the transitive dependencies.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)