[jdk17u-dev] RFR: 8274639: Provide a way to disable warnings for cross-modular links

Alexey Pavlyutkin duke at openjdk.org
Fri Sep 23 09:25:07 UTC 2022


Hi! Here is backport of [JDK-8274639](https://bugs.openjdk.org/browse/JDK-8274639). The patch adds the ability to disable Link Modularity Mismatch warnings and so projects using cross-modular links can be compiled with -Werror flag.

Original patch applied cleanly.

Verification (amd64/20.04LTS): test/langtools/jdk/javadoc/doclet/testLinkOption/TestLinkOptionWithModule.java
Regression (amd64/20.04LTS): test/langtools/jdk/javadoc

-------------

Commit messages:
 - Backport 103da8fae12a2aaff1a02a219690ce89fc098641

Changes: https://git.openjdk.org/jdk17u-dev/pull/723/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=723&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8274639
  Stats: 130 lines in 4 files changed: 107 ins; 6 del; 17 mod
  Patch: https://git.openjdk.org/jdk17u-dev/pull/723.diff
  Fetch: git fetch https://git.openjdk.org/jdk17u-dev pull/723/head:pull/723

PR: https://git.openjdk.org/jdk17u-dev/pull/723


More information about the jdk-updates-dev mailing list