Document WSL is not fully able to run tests JDK-8215445-branch
authorerikj
Wed, 19 Dec 2018 07:53:13 -0800
branchJDK-8215445-branch
changeset 57086 f48eb679f5ca
parent 57085 076512b620d3
child 57087 1e706d9b41c0
Document WSL is not fully able to run tests
doc/building.html
doc/building.md
--- a/doc/building.html	Wed Dec 19 06:56:03 2018 -0800
+++ b/doc/building.html	Wed Dec 19 07:53:13 2018 -0800
@@ -201,12 +201,13 @@
 <h3 id="windows">Windows</h3>
 <p>Windows XP is not a supported platform, but all newer Windows should be able to build the JDK.</p>
 <p>On Windows, it is important that you pay attention to the instructions in the <a href="#special-considerations">Special Considerations</a>.</p>
-<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 Windows Subsystem for Linux (WSL) and Cygwin. (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>
+<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>
 <p>Internally in the build system, all paths are represented as Unix-style paths, e.g. <code>/cygdrive/c/hg/jdk9/Makefile</code> rather than <code>C:\hg\jdk9\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>
 <h4 id="windows-subsystem-for-linux-wsl">Windows Subsystem for Linux (WSL)</h4>
 <p>Only Windows 10 1803 or newer is supported due to a dependency on the wslpath utility and support for environment variable sharing through WSLENV.</p>
 <p>You may build both Windows and Linux binaries from WSL. To build Windows binaries, you must use a Windows boot JDK (located in a Windows-accessible directory). To build Linux binaries, you must use a Linux boot JDK. The default behavior is to build for Windows. To build for Linux, pass <code>--build=x86_64-unknown-linux-gnu</code> and <code>--host=x86_64-unknown-linux-gnu</code> to <code>configure</code>.</p>
 <p>If building Windows binaries, you must also have synced down the OpenJDK source code from Windows. This is because Windows executables (such as Visual Studio and the boot JDK) must be able to access the source code. Also, the directory where the OpenJDK source code is stored must be case-insensitive (either by setting the individual directory as case insensitive using fsutil, changing /etc/fstab to mount the drive as case-insensitive, or editing /etc/wsl.conf to mark all mounted Windows drives as case-insensitive).</p>
+<p>Note that while it's possible to build on WSL, testing is still not fully supported.</p>
 <h4 id="cygwin">Cygwin</h4>
 <p>A functioning <a href="http://www.cygwin.com/">Cygwin</a> environment is thus 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>
 <p><strong>Note:</strong> Cygwin has a model of continuously updating all packages without any easy way to install or revert to a specific version of a package. This means that whenever you add or update a package in Cygwin, you might (inadvertently) update tools that are used by the JDK build process, and that can cause unexpected build problems.</p>
--- a/doc/building.md	Wed Dec 19 06:56:03 2018 -0800
+++ b/doc/building.md	Wed Dec 19 07:53:13 2018 -0800
@@ -174,8 +174,8 @@
 
 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 Windows Subsystem for Linux (WSL)
-and Cygwin. (Msys is no longer supported due to a too old bash; msys2 would 
+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.)
 
@@ -192,19 +192,21 @@
 and support for environment variable sharing through WSLENV.
 
 You may build both Windows and Linux binaries from WSL. To build Windows binaries,
-you must use a Windows boot JDK (located in a Windows-accessible directory). To build 
+you must use a Windows boot JDK (located in a Windows-accessible directory). To build
 Linux binaries, you must use a Linux boot JDK. The default behavior is to build for
-Windows. To build for Linux, pass `--build=x86_64-unknown-linux-gnu` and 
+Windows. To build for Linux, pass `--build=x86_64-unknown-linux-gnu` and
 `--host=x86_64-unknown-linux-gnu` to `configure`.
 
-If building Windows binaries, you must also have synced down the OpenJDK source code 
+If building Windows binaries, you must also have synced down the OpenJDK source code
 from Windows. This is because Windows executables (such as Visual Studio and the boot
 JDK) must be able to access the source code. Also, the directory where the OpenJDK
 source code is stored must be case-insensitive (either by setting the individual
 directory as case insensitive using fsutil, changing /etc/fstab to mount the drive as
-case-insensitive, or editing /etc/wsl.conf to mark all mounted Windows drives as 
+case-insensitive, or editing /etc/wsl.conf to mark all mounted Windows drives as
 case-insensitive).
 
+Note that while it's possible to build on WSL, testing is still not fully supported.
+
 #### Cygwin
 
 A functioning [Cygwin](http://www.cygwin.com/) environment is thus required for