Integrated: 8348391: Keep case if possible for TOPDIR

Magnus Ihse Bursie ihse at openjdk.org
Thu Jan 23 14:54:55 UTC 2025


On Thu, 23 Jan 2025 10:14:24 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:

> To figure out the root of the JDK build, we set the TOPDIR variable in configure. Furthermore, we clean it up using UTIL_FIXUP_PATH as we do with all paths. On Windows, this can result in the path becoming all lowercase. Since Windows paths are case insensitive, this is normally not a problem. However, we try to strip the TOPDIR from paths in several locations like this:
> 
> 
> $$(subst $$(TOPDIR)/, , $$($1_TEST_RESULTS_DIR))
> 
> 
> and that will only work if the case actually matches.

This pull request has now been integrated.

Changeset: 44e5ccaf
Author:    Magnus Ihse Bursie <ihse at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/44e5ccaf866a50f1c79c02ab87a308f1a3a91f90
Stats:     10 lines in 2 files changed: 9 ins; 0 del; 1 mod

8348391: Keep case if possible for TOPDIR

Reviewed-by: erikj

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

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


More information about the build-dev mailing list