RFR: 8348391: Keep case if possible for TOPDIR

Magnus Ihse Bursie ihse at openjdk.org
Thu Jan 23 10:18:58 UTC 2025


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.

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

Commit messages:
 - 8348391: Keep case if possible for TOPDIR

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

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


More information about the build-dev mailing list