RFR: 8334391: JDK build should exclude *-files directories for Java source [v2]

Magnus Ihse Bursie ihse at openjdk.org
Wed May 7 22:59:04 UTC 2025


> We should always exclude `doc-files` and `snippet-files` when compiling java code. To generalize this, exclude all `*-files` directories.
> 
> (The usage of EXCLUDES and EXCLUDE_FILES is a bit weird. In essence, EXCLUDE_FILES prepends a `%` wildchar match to the filenames given, which we use here, while EXCLUDES matches only strict directory names in the path. These should probably be clarified/redesigned for more intuitive exclusion.)

Magnus Ihse Bursie has updated the pull request incrementally with one additional commit since the last revision:

  Get rid of looped eval

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/24449/files
  - new: https://git.openjdk.org/jdk/pull/24449/files/7dc87aca..04d4605f

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=24449&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=24449&range=00-01

  Stats: 7 lines in 2 files changed: 0 ins; 2 del; 5 mod
  Patch: https://git.openjdk.org/jdk/pull/24449.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/24449/head:pull/24449

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


More information about the build-dev mailing list