The OpenJDK build system does not support building when the source code resides 
on a path that contains a space. This requirement is documented in the build 
instructions but not enforced by the configure script.

This change adds an explicit checks to the wrapper `configure` script that fail 
the build if the source code to be built is located in a directory who's path 
contains a space character or the build path cannot be determined. 

This is a revival of the old patch in 
https://github.com/openjdk/jdk/pull/10477, created in collaboration between by 
@bondolo and myself.

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

Commit messages:
 - 8294549: configure script should detect unsupported path

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

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

Reply via email to