RFR: 8257679: Improved unix compatibility layer in Windows build (winenv) [v5]

Jorn Vernee jvernee at openjdk.java.net
Fri Dec 4 18:14:12 UTC 2020


On Fri, 4 Dec 2020 18:07:22 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:

>> Ok, after looking at `set -x` output WSL seems to have a problem with the space in the path `/mnt/c/Program Files/Java/jdk-15` e.g. if I move the jdk to `/mnt/h/jdk-15` it works. Might be a missing fixup somewhere? (FWIW, that Program Files dir does have an 8dot3 name).
>> 
>> With that I can build `images` on both Cygwin and WSL. Build times are about 29 mins and 18 mins respectively.
>
> @JornVernee Ah, sorry, I missed that you had added yet another comment, with the solution! :-) I'll have a look at why the space is problematic. 
> 
> Do I understand you correctly that the same path to Java worked on Cygwin but failed on WSL?

@magicus Yes, that is correct. The path worked on Cygwin but not on WSL.

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

PR: https://git.openjdk.java.net/jdk/pull/1597


More information about the hotspot-compiler-dev mailing list