StephanEwen opened a new pull request #12156:
URL: https://github.com/apache/flink/pull/12156
## What is the purpose of the change
Fixes issues with dependencies when using Java 9+.
The `jdk:tools` dependency is referenced by Hadoop, but not available in
Java 9+ any more. Importing the code into an IDE that runs Java 11 fails as a
result.
This transitive dependency is not needed when running the code, because the
classes are always present anyways. It can be safely excluded form the
transitive dependencies.
## Brief change log
Adds an exclusion for `jdk:tools` to the Hadoop entries in the dependency
management section.
## Does this pull request potentially affect one of the following parts:
- Dependencies (does it add or upgrade a dependency): **yes!**
- The public API, i.e., is any changed class annotated with
`@Public(Evolving)`: **no**
- The serializers: **no**
- The runtime per-record code paths (performance sensitive): **no**
- Anything that affects deployment or recovery: JobManager (and its
components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: **no**
- The S3 file system connector: **no**
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]