Details
-
Enhancement
-
Resolution: Fixed
-
P2
-
16
-
b28
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8297617 | 11.0.18 | Dukebot | P2 | Resolved | Fixed | b05 |
Description
This rewrite takes on a fresh approach, by giving up on the native "fixpath.exe" converter, and instead relying on a platform-independent shell script "fixpath.sh", which can dynamically adapt to the current winenv. It also provides a proper framework on how to categorize, and support, different winenvs. As a result, we now easily support Cygwin, Msys2, WSL1 and WSL2 (the latter is unfortunately not mature enough to be able to compile the JDK).
Furthermore, this rewrite removes all the kludges and hacks that were put in place all over the code base, and consolidates all tricky part of handling the winenv to basically two places: setting up in configure, and run-time handling by fixpath.sh.
This patch also cleans up our handling of how we detect tools in configure, and makes a proper framework for cross-compilation on Windows.
Attachments
Issue Links
- backported by
-
JDK-8297617 Improved unix compatibility layer in Windows build (winenv)
-
- Resolved
-
- relates to
-
JDK-8299616 [11u] Bootcycle build fails after JDK-8257679 backport
-
- Resolved
-
-
JDK-8302000 [11u] A subtle race condition during jdk11u build
-
- Resolved
-
-
JDK-8300046 Windows build fails when path includes "+"
-
- Open
-
-
JDK-8247676 vcruntime140_1.dll is not needed on 32-bit Windows
-
- Resolved
-
-
JDK-8258005 JDK build fails with incorrect fixpath script
-
- Resolved
-
-
JDK-8260272 bash configure --prefix does not work after JDK-8257679
-
- Resolved
-
- links to
-
Commit openjdk/jdk11u-dev/40f4fc2d
-
Commit openjdk/jdk/d29c78da
-
Review openjdk/jdk11u-dev/1278
-
Review openjdk/jdk/1597