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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Shang Yuanchun (Jira)
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)