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/14 15:36:00 UTC

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

Stephan Ewen created FLINK-17701:
------------------------------------

             Summary: 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
             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)