--with-jtreg=<path> - Set the path to JTReg. See Running Tests
-
Certain third-party libraries used by the JDK (libjpeg, giflib, libpng, lcms and zlib) are included in the JDK repository. The default behavior of the JDK build is to use this version of these libraries, but they might be replaced by an external version. To do so, specify system as the <source> option in these arguments. (The default is bundled).
+
Certain third-party libraries used by the JDK (libjpeg, giflib, libpng, lcms and zlib) are included in the JDK repository. The default behavior of the JDK build is to use the included ("bundled") versions of libjpeg, giflib, libpng and lcms. For zlib, the system lib (if present) is used except on Windows and AIX. However the bundled libraries may be replaced by an external version. To do so, specify system as the <source> option in these arguments. (The default is bundled).
--with-libjpeg=<source> - Use the specified source for libjpeg
--with-giflib=<source> - Use the specified source for giflib
diff -r 81852d53e585 -r b88bcaa94c10 doc/building.md
--- a/doc/building.md Fri May 17 14:14:15 2019 +0900
+++ b/doc/building.md Thu May 16 13:21:41 2019 +0200
@@ -722,9 +722,12 @@
Certain third-party libraries used by the JDK (libjpeg, giflib, libpng, lcms
and zlib) are included in the JDK repository. The default behavior of the
-JDK build is to use this version of these libraries, but they might be
-replaced by an external version. To do so, specify `system` as the `