RFR: 8289646: configure script failed on WSL

Yasumasa Suenaga ysuenaga at openjdk.org
Mon Jul 4 23:07:41 UTC 2022


On Mon, 4 Jul 2022 16:26:21 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:

> As a minimum, you need to verify that this works on WSL1, WSL2 and Cygwin.

I tested my patch on both WSL 1 and 2. GHA will test on Cygwin (it seems to work).

> It might also work on newer versions of wslpath but break on older, seeing that Microsoft is in the habit of changing the behaviour of wslpath...

In my latest PR, it uses `test -e` whether to determine to add ".exe" to the path. I think it is an expected behavior (add ".exe" if the path does not exist), and also it does not depends on wslpath behavior.

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

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



More information about the build-dev mailing list