Skip to content

Commit 9481220

Browse files
author
duke
committedFeb 4, 2022
Automatic merge of master into foreign-memaccess+abi
2 parents 0fe826c + 396829b commit 9481220

File tree

289 files changed

+5204
-1958
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

289 files changed

+5204
-1958
lines changed
 

‎doc/building.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ <h2 id="operating-system-requirements">Operating System Requirements</h2>
196196
<h3 id="windows">Windows</h3>
197197
<p>Windows XP is not a supported platform, but all newer Windows should be able to build the JDK.</p>
198198
<p>On Windows, it is important that you pay attention to the instructions in the <a href="#special-considerations">Special Considerations</a>.</p>
199-
<p>Windows is the only non-POSIX OS supported by the JDK, and as such, requires some extra care. A POSIX support layer is required to build on Windows. Currently, the only supported such layers are Cygwin and Windows Subsystem for Linux (WSL). (Msys is no longer supported due to a too old bash; msys2 would likely be possible to support in a future version but that would require effort to implement.)</p>
199+
<p>Windows is the only non-POSIX OS supported by the JDK, and as such, requires some extra care. A POSIX support layer is required to build on Windows. Currently, the only supported such layers are Cygwin, Windows Subsystem for Linux (WSL), and MSYS2. (MSYS is no longer supported due to an outdated bash; While OpenJDK can be built with MSYS2, support for it is still experimental, so build failures and unusual errors are not uncommon.)</p>
200200
<p>Internally in the build system, all paths are represented as Unix-style paths, e.g. <code>/cygdrive/c/git/jdk/Makefile</code> rather than <code>C:\git\jdk\Makefile</code>. This rule also applies to input to the build system, e.g. in arguments to <code>configure</code>. So, use <code>--with-msvcr-dll=/cygdrive/c/msvcr100.dll</code> rather than <code>--with-msvcr-dll=c:\msvcr100.dll</code>. For details on this conversion, see the section on <a href="#fixpath">Fixpath</a>.</p>
201201
<h4 id="cygwin">Cygwin</h4>
202202
<p>A functioning <a href="http://www.cygwin.com/">Cygwin</a> environment is required for building the JDK on Windows. If you have a 64-bit OS, we strongly recommend using the 64-bit version of Cygwin.</p>
@@ -298,7 +298,7 @@ <h3 id="apple-xcode">Apple Xcode</h3>
298298
<p>It is advisable to keep an older version of Xcode for building the JDK when updating Xcode. This <a href="http://iosdevelopertips.com/xcode/install-multiple-versions-of-xcode.html">blog page</a> has good suggestions on managing multiple Xcode versions. To use a specific version of Xcode, use <code>xcode-select -s</code> before running <code>configure</code>, or use <code>--with-toolchain-path</code> to point to the version of Xcode to use, e.g. <code>configure --with-toolchain-path=/Applications/Xcode8.app/Contents/Developer/usr/bin</code></p>
299299
<p>If you have recently (inadvertently) updated your OS and/or Xcode version, and the JDK can no longer be built, please see the section on <a href="#problems-with-the-build-environment">Problems with the Build Environment</a>, and <a href="#getting-help">Getting Help</a> to find out if there are any recent, non-merged patches available for this update.</p>
300300
<h3 id="microsoft-visual-studio">Microsoft Visual Studio</h3>
301-
<p>For aarch64 machines running Windows the minimum accepted version is Visual Studio 2019 (16.8 or higher). For all other platforms the minimum accepted version of Visual Studio is 2017. Older versions will not be accepted by <code>configure</code> and will not work. For all platforms the maximum accepted version of Visual Studio is 2022.</p>
301+
<p>For aarch64 machines running Windows the minimum accepted version is Visual Studio 2019 (16.8 or higher). For all other platforms the minimum accepted version of Visual Studio is 2017. Older versions will not be accepted by <code>configure</code> and will not work. For all platforms the maximum accepted version of Visual Studio is 2022.</p>
302302
<p>If you have multiple versions of Visual Studio installed, <code>configure</code> will by default pick the latest. You can request a specific version to be used by setting <code>--with-toolchain-version</code>, e.g. <code>--with-toolchain-version=2017</code>.</p>
303303
<p>If you have Visual Studio installed but <code>configure</code> fails to detect it, it may be because of <a href="#spaces-in-path">spaces in path</a>.</p>
304304
<h3 id="ibm-xl-cc">IBM XL C/C++</h3>

‎doc/building.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -179,10 +179,10 @@ On Windows, it is important that you pay attention to the instructions in the
179179

180180
Windows is the only non-POSIX OS supported by the JDK, and as such, requires
181181
some extra care. A POSIX support layer is required to build on Windows.
182-
Currently, the only supported such layers are Cygwin and Windows Subsystem for
183-
Linux (WSL). (Msys is no longer supported due to a too old bash; msys2 would
184-
likely be possible to support in a future version but that would require effort
185-
to implement.)
182+
Currently, the only supported such layers are Cygwin, Windows Subsystem for
183+
Linux (WSL), and MSYS2. (MSYS is no longer supported due to an outdated bash;
184+
While OpenJDK can be built with MSYS2, support for it is still experimental, so
185+
build failures and unusual errors are not uncommon.)
186186

187187
Internally in the build system, all paths are represented as Unix-style paths,
188188
e.g. `/cygdrive/c/git/jdk/Makefile` rather than `C:\git\jdk\Makefile`. This

0 commit comments

Comments
 (0)