RFR: 8345058: javac issues different error messages for the modifiers of the requires directive

Vicente Romero vromero at openjdk.org
Tue Nov 26 15:22:11 UTC 2024


javac is issuing different error messages for the modifiers of the `requires` directive. This PR is making javac's output consistent for both modifiers `static` and `transitive`

TIA

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

Commit messages:
 - 8345058: javac issues different error messages for the modifiers of the requires directive

Changes: https://git.openjdk.org/jdk/pull/22392/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=22392&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8345058
  Stats: 38 lines in 2 files changed: 38 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/22392.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/22392/head:pull/22392

PR: https://git.openjdk.org/jdk/pull/22392


More information about the compiler-dev mailing list