Skip to content

Commit

Permalink
8342807: Update links in java.base to use https://
Browse files Browse the repository at this point in the history
Reviewed-by: rriggs, ihse, jkern
  • Loading branch information
Eirik Bjørsnøs committed Jan 27, 2025
1 parent afcc2b0 commit ffeb9b5
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 18 deletions.
2 changes: 1 addition & 1 deletion src/java.base/aix/native/libjli/java_md_aix.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
/*
* Very limited AIX port of dladdr() for libjli.so.
*
* We try to mimic dladdr(3) on Linux (see http://linux.die.net/man/3/dladdr)
* We try to mimic dladdr(3) on Linux (see https://linux.die.net/man/3/dladdr)
* dladdr(3) is not POSIX but a GNU extension, and is not available on AIX.
*
* We only support Dl_info.dli_fname here as this is the only thing that is
Expand Down
2 changes: 1 addition & 1 deletion src/java.base/linux/native/libsimdsort/xss-common-qsort.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
* [3] https://github.com/simd-sorting/fast-and-robust: SPDX-License-Identifier:
* MIT
*
* [4] http://mitp-content-server.mit.edu:18180/books/content/sectbyfn?collid=books_pres_0&fn=Chapter%2027.pdf&id=8030
* [4] https://mitp-content-server.mit.edu/books/content/sectbyfn?collid=books_pres_0&fn=Chapter%2027.pdf&id=8030
*
*/

Expand Down
4 changes: 2 additions & 2 deletions src/java.base/share/man/keytool.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
# Copyright (c) 1998, 2024, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 1998, 2025, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -1661,7 +1661,7 @@ To import a certificate for the CA, complete the following process:

The `cacerts` keystore ships with a set of root certificates issued by the
CAs of [the Oracle Java Root Certificate program](
http://www.oracle.com/technetwork/java/javase/javasecarootcertsprogram-1876540.html).
https://www.oracle.com/java/technologies/javase/carootcertsprogram.html).
If you request a signed certificate from a CA, and a certificate
authenticating that CA's public key hasn't been added to `cacerts`, then
you must import a certificate from that CA as a trusted certificate.
Expand Down
4 changes: 2 additions & 2 deletions src/java.base/unix/classes/sun/net/PortConfig.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2013, 2023, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2013, 2025, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -54,7 +54,7 @@ private PortConfig() {}
break;
case AIX:
// The ephemeral port is OS version dependent on AIX:
// http://publib.boulder.ibm.com/infocenter/aix/v7r1/topic/com.ibm.aix.rsct315.admin/bl503_ephport.htm
// https://www.ibm.com/support/pages/node/886227
// However, on AIX 5.3 / 6.1 / 7.1 we always see the
// settings below by using:
// /usr/sbin/no -a | fgrep ephemeral
Expand Down
6 changes: 3 additions & 3 deletions src/java.base/unix/native/libjava/ProcessEnvironment_md.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2003, 2025, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -37,8 +37,8 @@
* The declaration is standardized as part of UNIX98, but there is
* no standard (not even de-facto) header file where the
* declaration is to be found. See:
* http://www.opengroup.org/onlinepubs/009695399/functions/environ.html
* http://www.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_02.html
* https://pubs.opengroup.org/onlinepubs/009695399/functions/environ.html
* https://pubs.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_02.html
*
* "All identifiers in this volume of IEEE Std 1003.1-2001, except
* environ, are defined in at least one of the headers" (!)
Expand Down
7 changes: 3 additions & 4 deletions src/java.base/unix/native/libjava/ProcessImpl_md.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 1995, 2024, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1995, 2025, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -106,7 +106,7 @@
* Note that when using posix_spawn(3), we exec twice: first a tiny binary called
* the jspawnhelper, then in the jspawnhelper we do the pre-exec work and exec a
* second time, this time the target binary (similar to the "exec-twice-technique"
* described in http://mail.openjdk.org/pipermail/core-libs-dev/2018-September/055333.html).
* described in https://mail.openjdk.org/pipermail/core-libs-dev/2018-September/055333.html).
*
* This is a JDK-specific implementation detail which just happens to be
* implemented for jdk.lang.Process.launchMechanism=POSIX_SPAWN.
Expand Down Expand Up @@ -200,8 +200,7 @@ setSIGCHLDHandler(JNIEnv *env)
* non-standard-compliant, and we shouldn't rely on it.
*
* References:
* http://www.opengroup.org/onlinepubs/7908799/xsh/exec.html
* http://www.pasc.org/interps/unofficial/db/p1003.1/pasc-1003.1-132.html
* https://pubs.opengroup.org/onlinepubs/7908799/xsh/exec.html
*/
struct sigaction sa;
sa.sa_handler = SIG_DFL;
Expand Down
4 changes: 2 additions & 2 deletions src/java.base/unix/native/libjava/childproc.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2013, 2024, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2013, 2025, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -144,7 +144,7 @@ readFully(int fd, void *buf, size_t nbyte)
buf = (void *) (((char *)buf) + n);
} else if (errno == EINTR) {
/* Strange signals like SIGJVM1 are possible at any time.
* See http://www.dreamsongs.com/WorseIsBetter.html */
* See https://dreamsongs.com/WorseIsBetter.html */
} else {
return -1;
}
Expand Down
6 changes: 3 additions & 3 deletions src/java.base/unix/native/libjava/childproc.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2013, 2024, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2013, 2025, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -37,8 +37,8 @@
* The declaration is standardized as part of UNIX98, but there is
* no standard (not even de-facto) header file where the
* declaration is to be found. See:
* http://www.opengroup.org/onlinepubs/009695399/functions/environ.html
* http://www.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_02.html
* https://pubs.opengroup.org/onlinepubs/009695399/functions/environ.html
* https://pubs.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_02.html
*
* "All identifiers in this volume of IEEE Std 1003.1-2001, except
* environ, are defined in at least one of the headers" (!)
Expand Down

0 comments on commit ffeb9b5

Please sign in to comment.