On Fri, 4 Apr 2025 14:44:07 GMT, Magnus Ihse Bursie <i...@openjdk.org> wrote:

> 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.)

This pull request has now been integrated.

Changeset: 568dcc15
Author:    Magnus Ihse Bursie <i...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/568dcc15cb1a2c02d6ac4421902d841d256ca1c2
Stats:     39 lines in 8 files changed: 17 ins; 18 del; 4 mod

8334391: JDK build should exclude *-files directories for Java source

Reviewed-by: erikj

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

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

Reply via email to