On Mon, 7 Apr 2025 09:18:08 GMT, Magnus Ihse Bursie <i...@openjdk.org> wrote:

> Windows can create short names for directories that contain spaces in the 
> name.
> 
> However, where short name creation was previously enabled by default, it no 
> longer seems to be in recent version of Windows (the default setting is 
> instead 'per volume', and the default for each volume is 'off').
> 
> We should check that the output paths of these utility macros are actually 
> space-free, and emit an error otherwise. We should also add additional 
> documentation about short names, and the short name creation setting to 
> doc/building.md.
> 
> When testing this in several different cases with path including spaces that 
> either had or had not a short name, it became apparent that the current 
> handling of such cases were not ... optimal. Hence some bug fixes were needed 
> to properly handle such cases.

This pull request has now been integrated.

Changeset: 493ac936
Author:    Magnus Ihse Bursie <i...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/493ac93606e4637638ec1ae34e24526aaba7b7f3
Stats:     124 lines in 6 files changed: 76 ins; 5 del; 43 mod

8244533: Configure should abort on missing short names in Windows

Co-authored-by: Jorn Vernee <jver...@openjdk.org>
Co-authored-by: Magnus Ihse Bursie <i...@openjdk.org>
Reviewed-by: erikj

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

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

Reply via email to