Integrated: 8351029: IncludeCustomExtension does not work on cygwin with source code below /home

Magnus Ihse Bursie ihse at openjdk.org
Fri May 9 09:12:30 UTC 2025


On Wed, 7 May 2025 15:08:53 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:

> If you check out your source code in Cygwin, somewhere under /home/... (as opposed to /cygpath/...), IncludeCustomExtension does not work.
> 
> The problem is that TOPDIR gets a different lexical value from the spec.gmk file when setup in Makefile, even if this was the same directory. Since THIS_INCLUDE is calculated as a relative path by string substitution of $(TOPDIR), the path failed to relativize correctly.

This pull request has now been integrated.

Changeset: a091e2f2
Author:    Magnus Ihse Bursie <ihse at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/a091e2f2810da17ff61a63fd0f1f6538f1bdbb70
Stats:     12 lines in 4 files changed: 1 ins; 0 del; 11 mod

8351029: IncludeCustomExtension does not work on cygwin with source code below /home

Reviewed-by: erikj

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

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


More information about the build-dev mailing list