Skip to content

Commit 9194d2c

Browse files
committedNov 17, 2023
8317357: Update links in building.md to use https rather than http
Reviewed-by: iris, erikj, jwaters
1 parent 368e4f6 commit 9194d2c

File tree

2 files changed

+36
-36
lines changed

2 files changed

+36
-36
lines changed
 

‎doc/building.html

+20-20
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ <h2 id="introduction">Introduction</h2>
248248
software, and reasonably powerful hardware.</p>
249249
<p>If you just want to use the JDK and not build it yourself, this
250250
document is not for you. See for instance <a
251-
href="http://openjdk.org/install">OpenJDK installation</a> for some
251+
href="https://openjdk.org/install">OpenJDK installation</a> for some
252252
methods of installing a prebuilt JDK.</p>
253253
<h2 id="getting-the-source-code">Getting the Source Code</h2>
254254
<p>Make sure you are getting the correct version. As of JDK 10, the
@@ -405,9 +405,9 @@ <h3 id="windows">Windows</h3>
405405
<p>Note: The Windows 32-bit x86 port is deprecated and may be removed in
406406
a future release.</p>
407407
<h4 id="cygwin">Cygwin</h4>
408-
<p>A functioning <a href="http://www.cygwin.com/">Cygwin</a> environment
409-
is required for building the JDK on Windows. If you have a 64-bit OS, we
410-
strongly recommend using the 64-bit version of Cygwin.</p>
408+
<p>A functioning <a href="https://www.cygwin.com/">Cygwin</a>
409+
environment is required for building the JDK on Windows. If you have a
410+
64-bit OS, we strongly recommend using the 64-bit version of Cygwin.</p>
411411
<p><strong>Note:</strong> Cygwin has a model of continuously updating
412412
all packages without any easy way to install or revert to a specific
413413
version of a package. This means that whenever you add or update a
@@ -635,9 +635,9 @@ <h2 id="boot-jdk-requirements">Boot JDK Requirements</h2>
635635
picked, use <code>--with-boot-jdk</code> to point to the JDK to use.</p>
636636
<h3 id="getting-jdk-binaries">Getting JDK binaries</h3>
637637
<p>JDK binaries for Linux, Windows and macOS can be downloaded from <a
638-
href="http://jdk.java.net">jdk.java.net</a>. An alternative is to
638+
href="https://jdk.java.net">jdk.java.net</a>. An alternative is to
639639
download the <a
640-
href="http://www.oracle.com/technetwork/java/javase/downloads">Oracle
640+
href="https://www.oracle.com/technetwork/java/javase/downloads">Oracle
641641
JDK</a>. Another is the <a href="https://adoptopenjdk.net/">Adopt
642642
OpenJDK Project</a>, which publishes experimental prebuilt binaries for
643643
various platforms.</p>
@@ -663,7 +663,7 @@ <h2 id="external-library-requirements">External Library
663663
<p>As a fallback, the second version allows you to point to the include
664664
directory and the lib directory separately.</p>
665665
<h3 id="freetype">FreeType</h3>
666-
<p>FreeType2 from <a href="http://www.freetype.org/">The FreeType
666+
<p>FreeType2 from <a href="https://www.freetype.org/">The FreeType
667667
Project</a> is not required on any platform. The exception is on
668668
Unix-based platforms when configuring such that the build artifacts will
669669
reference a system installed library, rather than bundling the JDK's own
@@ -682,7 +682,7 @@ <h3 id="freetype">FreeType</h3>
682682
<code>--with-freetype-lib=&lt;path&gt;</code> if <code>configure</code>
683683
does not automatically locate the platform FreeType files.</p>
684684
<h3 id="fontconfig">Fontconfig</h3>
685-
<p>Fontconfig from <a href="http://fontconfig.org">freedesktop.org
685+
<p>Fontconfig from <a href="https://fontconfig.org">freedesktop.org
686686
Fontconfig</a> is required on all platforms except Windows and
687687
macOS.</p>
688688
<ul>
@@ -695,7 +695,7 @@ <h3 id="fontconfig">Fontconfig</h3>
695695
<code>--with-fontconfig=&lt;path&gt;</code> if <code>configure</code>
696696
does not automatically locate the platform Fontconfig files.</p>
697697
<h3 id="cups">CUPS</h3>
698-
<p>CUPS, <a href="http://www.cups.org">Common UNIX Printing System</a>
698+
<p>CUPS, <a href="https://www.cups.org">Common UNIX Printing System</a>
699699
header files are required on all platforms, except Windows. Often these
700700
files are provided by your operating system.</p>
701701
<ul>
@@ -709,7 +709,7 @@ <h3 id="cups">CUPS</h3>
709709
<p>Use <code>--with-cups=&lt;path&gt;</code> if <code>configure</code>
710710
does not properly locate your CUPS files.</p>
711711
<h3 id="x11">X11</h3>
712-
<p>Certain <a href="http://www.x.org/">X11</a> libraries and include
712+
<p>Certain <a href="https://www.x.org/">X11</a> libraries and include
713713
files are required on Linux.</p>
714714
<ul>
715715
<li>To install on an apt-based Linux, try running
@@ -736,7 +736,7 @@ <h3 id="alsa">ALSA</h3>
736736
<p>Use <code>--with-alsa=&lt;path&gt;</code> if <code>configure</code>
737737
does not properly locate your ALSA files.</p>
738738
<h3 id="libffi">libffi</h3>
739-
<p>libffi, the <a href="http://sourceware.org/libffi">Portable Foreign
739+
<p>libffi, the <a href="https://sourceware.org/libffi">Portable Foreign
740740
Function Interface Library</a> is required when building the Zero
741741
version of Hotspot.</p>
742742
<ul>
@@ -752,7 +752,7 @@ <h3 id="libffi">libffi</h3>
752752
<h2 id="build-tools-requirements">Build Tools Requirements</h2>
753753
<h3 id="autoconf">Autoconf</h3>
754754
<p>The JDK requires <a
755-
href="http://www.gnu.org/software/autoconf">Autoconf</a> on all
755+
href="https://www.gnu.org/software/autoconf">Autoconf</a> on all
756756
platforms. At least version 2.69 is required.</p>
757757
<ul>
758758
<li>To install on an apt-based Linux, try running
@@ -771,7 +771,7 @@ <h3 id="autoconf">Autoconf</h3>
771771
variable, like this:</p>
772772
<pre><code>AUTOCONF=&lt;path to autoconf&gt; configure ...</code></pre>
773773
<h3 id="gnu-make">GNU Make</h3>
774-
<p>The JDK requires <a href="http://www.gnu.org/software/make">GNU
774+
<p>The JDK requires <a href="https://www.gnu.org/software/make">GNU
775775
Make</a>. No other flavors of make are supported.</p>
776776
<p>At least version 3.81 of GNU Make must be used. For distributions
777777
supporting GNU Make 4.0 or above, we strongly recommend it. GNU Make 4.0
@@ -792,7 +792,7 @@ <h3 id="gnu-make">GNU Make</h3>
792792
<code>configure</code>, use the <code>MAKE</code> configure variable,
793793
e.g. <code>configure MAKE=/opt/gnu/make</code>.</p>
794794
<h3 id="gnu-bash">GNU Bash</h3>
795-
<p>The JDK requires <a href="http://www.gnu.org/software/bash">GNU
795+
<p>The JDK requires <a href="https://www.gnu.org/software/bash">GNU
796796
Bash</a>. No other shells are supported.</p>
797797
<p>At least version 3.2 of GNU Bash must be used.</p>
798798
<h2 id="running-configure">Running Configure</h2>
@@ -1097,9 +1097,9 @@ <h4 id="advanced-make-control-variables">Advanced Make Control
10971097
</ul>
10981098
<h2 id="running-tests">Running Tests</h2>
10991099
<p>Most of the JDK tests are using the <a
1100-
href="http://openjdk.org/jtreg">JTReg</a> test framework. Make sure that
1101-
your configuration knows where to find your installation of JTReg. If
1102-
this is not picked up automatically, use the
1100+
href="https://openjdk.org/jtreg">JTReg</a> test framework. Make sure
1101+
that your configuration knows where to find your installation of JTReg.
1102+
If this is not picked up automatically, use the
11031103
<code>--with-jtreg=&lt;path to jtreg home&gt;</code> option to point to
11041104
the JTReg framework. Note that this option should point to the JTReg
11051105
home, i.e. the top directory, containing <code>lib/jtreg.jar</code>
@@ -1410,7 +1410,7 @@ <h3 id="cross-compiling-with-debian-sysroots">Cross compiling with
14101410
--resolve-deps \
14111411
buster \
14121412
~/sysroot-arm64 \
1413-
http://httpredir.debian.org/debian/
1413+
https://httpredir.debian.org/debian/
14141414
# If the target architecture is `riscv64`,
14151415
# the path should be `debian-ports` instead of `debian`.</code></pre></li>
14161416
<li><p>To create a Ubuntu-based chroot:</p>
@@ -1686,7 +1686,7 @@ <h3 id="precompiled-headers">Precompiled Headers</h3>
16861686
<p>You can experiment by disabling precompiled headers using
16871687
<code>--disable-precompiled-headers</code>.</p>
16881688
<h3 id="icecc-icecream">Icecc / icecream</h3>
1689-
<p><a href="http://github.com/icecc/icecream">icecc/icecream</a> is a
1689+
<p><a href="https://github.com/icecc/icecream">icecc/icecream</a> is a
16901690
simple way to setup a distributed compiler network. If you have multiple
16911691
machines available for building the JDK, you can drastically cut
16921692
individual build times by utilizing it.</p>
@@ -2280,7 +2280,7 @@ <h3 id="developing-the-build-system-itself">Developing the Build System
22802280
check <code>$BUILD/build-trace-time.log</code>. Use <code>JOBS=1</code>
22812281
to avoid parallelism.</p>
22822282
<p>Please check that you adhere to the <a
2283-
href="http://openjdk.org/groups/build/doc/code-conventions.html">Code
2283+
href="https://openjdk.org/groups/build/doc/code-conventions.html">Code
22842284
Conventions for the Build System</a> before submitting patches.</p>
22852285
<h2 id="contributing-to-the-jdk">Contributing to the JDK</h2>
22862286
<p>So, now you've built your JDK, and made your first patch, and want to

‎doc/building.md

+16-16
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ reasonably powerful hardware.
4040

4141
If you just want to use the JDK and not build it yourself, this document is not
4242
for you. See for instance [OpenJDK installation](
43-
http://openjdk.org/install) for some methods of installing a prebuilt
43+
https://openjdk.org/install) for some methods of installing a prebuilt
4444
JDK.
4545

4646
## Getting the Source Code
@@ -205,7 +205,7 @@ Note: The Windows 32-bit x86 port is deprecated and may be removed in a future r
205205

206206
#### Cygwin
207207

208-
A functioning [Cygwin](http://www.cygwin.com/) environment is required for
208+
A functioning [Cygwin](https://www.cygwin.com/) environment is required for
209209
building the JDK on Windows. If you have a 64-bit OS, we strongly recommend
210210
using the 64-bit version of Cygwin.
211211

@@ -433,8 +433,8 @@ If the boot JDK is not automatically detected, or the wrong JDK is picked, use
433433
### Getting JDK binaries
434434

435435
JDK binaries for Linux, Windows and macOS can be downloaded from
436-
[jdk.java.net](http://jdk.java.net). An alternative is to download the
437-
[Oracle JDK](http://www.oracle.com/technetwork/java/javase/downloads). Another
436+
[jdk.java.net](https://jdk.java.net). An alternative is to download the
437+
[Oracle JDK](https://www.oracle.com/technetwork/java/javase/downloads). Another
438438
is the [Adopt OpenJDK Project](https://adoptopenjdk.net/), which publishes
439439
experimental prebuilt binaries for various platforms.
440440

@@ -460,7 +460,7 @@ and the lib directory separately.
460460

461461
### FreeType
462462

463-
FreeType2 from [The FreeType Project](http://www.freetype.org/) is not required
463+
FreeType2 from [The FreeType Project](https://www.freetype.org/) is not required
464464
on any platform. The exception is on Unix-based platforms when configuring such
465465
that the build artifacts will reference a system installed library,
466466
rather than bundling the JDK's own copy.
@@ -477,7 +477,7 @@ if `configure` does not automatically locate the platform FreeType files.
477477

478478
### Fontconfig
479479

480-
Fontconfig from [freedesktop.org Fontconfig](http://fontconfig.org) is required
480+
Fontconfig from [freedesktop.org Fontconfig](https://fontconfig.org) is required
481481
on all platforms except Windows and macOS.
482482

483483
* To install on an apt-based Linux, try running `sudo apt-get install
@@ -490,7 +490,7 @@ if `configure` does not automatically locate the platform Fontconfig files.
490490

491491
### CUPS
492492

493-
CUPS, [Common UNIX Printing System](http://www.cups.org) header files are
493+
CUPS, [Common UNIX Printing System](https://www.cups.org) header files are
494494
required on all platforms, except Windows. Often these files are provided by
495495
your operating system.
496496

@@ -505,7 +505,7 @@ files.
505505

506506
### X11
507507

508-
Certain [X11](http://www.x.org/) libraries and include files are required on
508+
Certain [X11](https://www.x.org/) libraries and include files are required on
509509
Linux.
510510

511511
* To install on an apt-based Linux, try running `sudo apt-get install
@@ -534,7 +534,7 @@ files.
534534
### libffi
535535

536536
libffi, the [Portable Foreign Function Interface Library](
537-
http://sourceware.org/libffi) is required when building the Zero version of
537+
https://sourceware.org/libffi) is required when building the Zero version of
538538
Hotspot.
539539

540540
* To install on an apt-based Linux, try running `sudo apt-get install
@@ -550,7 +550,7 @@ files.
550550

551551
### Autoconf
552552

553-
The JDK requires [Autoconf](http://www.gnu.org/software/autoconf) on all
553+
The JDK requires [Autoconf](https://www.gnu.org/software/autoconf) on all
554554
platforms. At least version 2.69 is required.
555555

556556
* To install on an apt-based Linux, try running `sudo apt-get install
@@ -571,7 +571,7 @@ AUTOCONF=<path to autoconf> configure ...
571571

572572
### GNU Make
573573

574-
The JDK requires [GNU Make](http://www.gnu.org/software/make). No other flavors
574+
The JDK requires [GNU Make](https://www.gnu.org/software/make). No other flavors
575575
of make are supported.
576576

577577
At least version 3.81 of GNU Make must be used. For distributions supporting
@@ -593,7 +593,7 @@ configure variable, e.g. `configure MAKE=/opt/gnu/make`.
593593

594594
### GNU Bash
595595

596-
The JDK requires [GNU Bash](http://www.gnu.org/software/bash). No other shells
596+
The JDK requires [GNU Bash](https://www.gnu.org/software/bash). No other shells
597597
are supported.
598598

599599
At least version 3.2 of GNU Bash must be used.
@@ -870,7 +870,7 @@ Suggestions for Advanced Users](#hints-and-suggestions-for-advanced-users) and
870870
871871
## Running Tests
872872
873-
Most of the JDK tests are using the [JTReg](http://openjdk.org/jtreg)
873+
Most of the JDK tests are using the [JTReg](https://openjdk.org/jtreg)
874874
test framework. Make sure that your configuration knows where to find your
875875
installation of JTReg. If this is not picked up automatically, use the
876876
`--with-jtreg=<path to jtreg home>` option to point to the JTReg framework.
@@ -1192,7 +1192,7 @@ For example, cross-compiling to AArch64 from x86_64 could be done like this:
11921192
--resolve-deps \
11931193
buster \
11941194
~/sysroot-arm64 \
1195-
http://httpredir.debian.org/debian/
1195+
https://httpredir.debian.org/debian/
11961196
# If the target architecture is `riscv64`,
11971197
# the path should be `debian-ports` instead of `debian`.
11981198
```
@@ -1410,7 +1410,7 @@ You can experiment by disabling precompiled headers using
14101410
14111411
### Icecc / icecream
14121412
1413-
[icecc/icecream](http://github.com/icecc/icecream) is a simple way to setup a
1413+
[icecc/icecream](https://github.com/icecc/icecream) is a simple way to setup a
14141414
distributed compiler network. If you have multiple machines available for
14151415
building the JDK, you can drastically cut individual build times by utilizing
14161416
it.
@@ -2046,7 +2046,7 @@ To analyze build performance, run with `LOG=trace` and check `$BUILD/build-trace
20462046
Use `JOBS=1` to avoid parallelism.
20472047
20482048
Please check that you adhere to the [Code Conventions for the Build System](
2049-
http://openjdk.org/groups/build/doc/code-conventions.html) before
2049+
https://openjdk.org/groups/build/doc/code-conventions.html) before
20502050
submitting patches.
20512051
20522052
## Contributing to the JDK

0 commit comments

Comments
 (0)
Please sign in to comment.