On Wed, 7 Jan 2026 18:23:30 GMT, Erik Joelsson <[email protected]> wrote:

> The utility macro `EscapeHash` in Utils.gmk fails when running with GNU make 
> 4.3 and 4.4. The issue seems to be fixed in 4.4.1 where it succeeds again. 
> This failure can be observed by running the vardep tests using:
> 
> 
> make test-make-make-base
> 
> 
> I managed to figure out a workaround to make the macro work on these make 
> versions, by referencing the hash character indirectly. With this fix, the 
> test succeeds with at least GNU make 4.0, 4.2, 4.3, 4.4 and 4.4.1.
> 
> It's not clear if there is any part of the build that currently relies on 
> this macro. This test was modified to include this check a long time ago in 
> JDK 9 when the docs build was rewritten.

This pull request has now been integrated.

Changeset: 383fe1ef
Author:    Erik Joelsson <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/383fe1efc3a23385b8576e20f458f91085c6325e
Stats:     1 line in 1 file changed: 0 ins; 0 del; 1 mod

8374642: EscapeHash macro fails with GNU make 4.3 and 4.4

Reviewed-by: tbell, shade

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

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

Reply via email to