diff --git a/README.md b/README.md index 399e7cc311f..b90abcb60df 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ # Welcome to the JDK! For build instructions please see the -[online documentation](https://openjdk.java.net/groups/build/doc/building.html), +[online documentation](https://openjdk.org/groups/build/doc/building.html), or either of these files: - [doc/building.html](doc/building.html) (html version) - [doc/building.md](doc/building.md) (markdown version) -See for more information about +See for more information about the OpenJDK Community and the JDK. diff --git a/doc/building.html b/doc/building.html index 5a775131812..2aab3ade6ca 100644 --- a/doc/building.html +++ b/doc/building.html @@ -122,7 +122,7 @@

If you are eager to try out building the JDK, these simple steps works most of the time. They assume that you have installed Git (and Cygwin if running on Windows) and cloned the top-level JDK repository that you want to build.

  1. Get the complete source code:
    -git clone https://git.openjdk.java.net/jdk/

  2. +git clone https://git.openjdk.org/jdk/

  3. Run configure:
    bash configure

    If configure fails due to missing dependencies (to either the toolchain, build tools, external libraries or the boot JDK), most of the time it prints a suggestion on how to resolve the situation on your platform. Follow the instructions, and try running bash configure again.

  4. @@ -136,9 +136,9 @@

    If any of these steps failed, or if you want to know more about build requirements or build functionality, please continue reading this document.

    Introduction

    The JDK is a complex software project. Building it requires a certain amount of technical expertise, a fair number of dependencies on external software, and reasonably powerful hardware.

    -

    If you just want to use the JDK and not build it yourself, this document is not for you. See for instance OpenJDK installation for some methods of installing a prebuilt JDK.

    +

    If you just want to use the JDK and not build it yourself, this document is not for you. See for instance OpenJDK installation for some methods of installing a prebuilt JDK.

    Getting the Source Code

    -

    Make sure you are getting the correct version. As of JDK 10, the source is no longer split into separate repositories so you only need to clone one single repository. At the OpenJDK Git site you can see a list of all available repositories. If you want to build an older version, e.g. JDK 11, it is recommended that you get the jdk11u repo, which contains incremental updates, instead of the jdk11 repo, which was frozen at JDK 11 GA.

    +

    Make sure you are getting the correct version. As of JDK 10, the source is no longer split into separate repositories so you only need to clone one single repository. At the OpenJDK Git site you can see a list of all available repositories. If you want to build an older version, e.g. JDK 11, it is recommended that you get the jdk11u repo, which contains incremental updates, instead of the jdk11 repo, which was frozen at JDK 11 GA.

    If you are new to Git, a good place to start is the book Pro Git. The rest of this document assumes a working knowledge of Git.

    Special Considerations

    For a smooth building experience, it is recommended that you follow these rules on where and how to check out the source code.

    @@ -152,7 +152,7 @@
  5. Do not put the JDK clone in a path under your Cygwin home directory. This is especially important if your user name contains spaces and/or mixed upper and lower case letters.

  6. You need to install a git client. You have two choices, Cygwin git or Git for Windows. Unfortunately there are pros and cons with each choice.

      -
    • The Cygwin git client has no line ending issues and understands Cygwin paths (which are used throughout the JDK build system). However, it does not currently work well with the Skara CLI tooling. Please see the Skara wiki on Git clients for up-to-date information about the Skara git client support.

    • +
    • The Cygwin git client has no line ending issues and understands Cygwin paths (which are used throughout the JDK build system). However, it does not currently work well with the Skara CLI tooling. Please see the Skara wiki on Git clients for up-to-date information about the Skara git client support.

    • The Git for Windows client has issues with line endings, and do not understand Cygwin paths. It does work well with the Skara CLI tooling, however. To alleviate the line ending problems, make sure you set core.autocrlf to false (this is asked during installation).

  7. @@ -198,7 +198,7 @@

    The double version numbers for Linux are due to the hybrid model used at Oracle, where header files and external libraries from an older version are used when building on a more modern version of the OS.

    -

    The Build Group has a wiki page with Supported Build Platforms. From time to time, this is updated by contributors to list successes or failures of building on different platforms.

    +

    The Build Group has a wiki page with Supported Build Platforms. From time to time, this is updated by contributors to list successes or failures of building on different platforms.

    Windows

    Windows XP is not a supported platform, but all newer Windows should be able to build the JDK.

    On Windows, it is important that you pay attention to the instructions in the Special Considerations.

    @@ -237,7 +237,7 @@

    For Alpine Linux, aside from basic tooling, install the GNU versions of some programs:

    sudo apk add build-base bash grep zip

    AIX

    -

    Please consult the AIX section of the Supported Build Platforms OpenJDK Build Wiki page for details about which versions of AIX are supported.

    +

    Please consult the AIX section of the Supported Build Platforms OpenJDK Build Wiki page for details about which versions of AIX are supported.

    Native Compiler (Toolchain) Requirements

    Large portions of the JDK consists of native code, that needs to be compiled to be able to run on the target platform. In theory, toolchain and operating system should be independent factors, but in practice there's more or less a one-to-one correlation between target operating system and toolchain.

    @@ -308,7 +308,7 @@

    If you have multiple versions of Visual Studio installed, configure will by default pick the latest. You can request a specific version to be used by setting --with-toolchain-version, e.g. --with-toolchain-version=2022.

    If you have Visual Studio installed but configure fails to detect it, it may be because of spaces in path.

    IBM XL C/C++

    -

    Please consult the AIX section of the Supported Build Platforms OpenJDK Build Wiki page for details about which versions of XLC are supported.

    +

    Please consult the AIX section of the Supported Build Platforms OpenJDK Build Wiki page for details about which versions of XLC are supported.

    Boot JDK Requirements

    Paradoxically, building the JDK requires a pre-existing JDK. This is called the "boot JDK". The boot JDK does not, however, have to be a JDK built directly from the source code available in the OpenJDK Community. If you are porting the JDK to a new platform, chances are that there already exists another JDK for that platform that is usable as boot JDK.

    The rule of thumb is that the boot JDK for building JDK major version N should be a JDK of major version N-1, so for building JDK 9 a JDK 8 would be suitable as boot JDK. However, the JDK should be able to "build itself", so an up-to-date build of the current JDK source is an acceptable alternative. If you are following the N-1 rule, make sure you've got the latest update version, since JDK 8 GA might not be able to build JDK 9 on all platforms.

    @@ -512,8 +512,8 @@
  8. SPEC_FILTER
  9. Running Tests

    -

    Most of the JDK tests are using the JTReg test framework. Make sure that your configuration knows where to find your installation of JTReg. If this is not picked up automatically, use the --with-jtreg=<path to jtreg home> option to point to the JTReg framework. Note that this option should point to the JTReg home, i.e. the top directory, containing lib/jtreg.jar etc.

    -

    The Adoption Group provides recent builds of jtreg here. Download the latest .tar.gz file, unpack it, and point --with-jtreg to the jtreg directory that you just unpacked.

    +

    Most of the JDK tests are using the JTReg test framework. Make sure that your configuration knows where to find your installation of JTReg. If this is not picked up automatically, use the --with-jtreg=<path to jtreg home> option to point to the JTReg framework. Note that this option should point to the JTReg home, i.e. the top directory, containing lib/jtreg.jar etc.

    +

    The Adoption Group provides recent builds of jtreg here. Download the latest .tar.gz file, unpack it, and point --with-jtreg to the jtreg directory that you just unpacked.

    Building of Hotspot Gtest suite requires the source code of Google Test framework. The top directory, which contains both googletest and googlemock directories, should be specified via --with-gtest. The supported version of Google Test is 1.8.1, whose source code can be obtained:

    • by downloading and unpacking the source bundle from here
    • @@ -896,7 +896,7 @@ spawn failed

      Spaces in Path

      On Windows, when configuring, fixpath.sh may report that some directory names have spaces. Usually, it assumes those directories have short paths. You can run fsutil file setshortname in cmd on certain directories, such as Microsoft Visual Studio or Windows Kits, to assign arbitrary short paths so configure can access them.

      Getting Help

      -

      If none of the suggestions in this document helps you, or if you find what you believe is a bug in the build system, please contact the Build Group by sending a mail to build-dev@openjdk.java.net. Please include the relevant parts of the configure and/or build log.

      +

      If none of the suggestions in this document helps you, or if you find what you believe is a bug in the build system, please contact the Build Group by sending a mail to build-dev@openjdk.org. Please include the relevant parts of the configure and/or build log.

      If you need general help or advice about developing for the JDK, you can also contact the Adoption Group. See the section on Contributing to OpenJDK for more information.

      Reproducible Builds

      Build reproducibility is the property of getting exactly the same bits out when building, every time, independent on who builds the product, or where. This is for many reasons a harder goal than it initially appears, but it is an important goal, for security reasons and others. Please see Reproducible Builds for more information about the background and reasons for reproducible builds.

      @@ -1037,12 +1037,12 @@ test-support/
      make COMPARE_BUILD=CONF=--enable-new-hotspot-feature:MAKE=hotspot

      See make/InitSupport.gmk for details on how to use COMPARE_BUILD.

      To analyze build performance, run with LOG=trace and check $BUILD/build-trace-time.log. Use JOBS=1 to avoid parallelism.

      -

      Please check that you adhere to the Code Conventions for the Build System before submitting patches.

      +

      Please check that you adhere to the Code Conventions for the Build System before submitting patches.

      Contributing to the JDK

      So, now you've built your JDK, and made your first patch, and want to contribute it back to the OpenJDK Community.

      First of all: Thank you! We gladly welcome your contribution. However, please bear in mind that the JDK is a massive project, and we must ask you to follow our rules and guidelines to be able to accept your contribution.

      -

      The official place to start is the 'How to contribute' page. There is also an official (but somewhat outdated and skimpy on details) Developer's Guide.

      -

      If this seems overwhelming to you, the Adoption Group is there to help you! A good place to start is their 'New Contributor' page, or start reading the comprehensive Getting Started Kit. The Adoption Group will also happily answer any questions you have about contributing. Contact them by mail or IRC.

      +

      The official place to start is the 'How to contribute' page. There is also an official (but somewhat outdated and skimpy on details) Developer's Guide.

      +

      If this seems overwhelming to you, the Adoption Group is there to help you! A good place to start is their 'New Contributor' page, or start reading the comprehensive Getting Started Kit. The Adoption Group will also happily answer any questions you have about contributing. Contact them by mail or IRC.

      Editing this document

      If you want to contribute changes to this document, edit doc/building.md and then run make update-build-docs to generate the same changes in doc/building.html.

      diff --git a/doc/building.md b/doc/building.md index defeb791a1a..1b6a4b646d1 100644 --- a/doc/building.md +++ b/doc/building.md @@ -7,7 +7,7 @@ the time. They assume that you have installed Git (and Cygwin if running on Windows) and cloned the top-level JDK repository that you want to build. 1. [Get the complete source code](#getting-the-source-code): \ - `git clone https://git.openjdk.java.net/jdk/` + `git clone https://git.openjdk.org/jdk/` 2. [Run configure](#running-configure): \ `bash configure` @@ -40,14 +40,14 @@ reasonably powerful hardware. If you just want to use the JDK and not build it yourself, this document is not for you. See for instance [OpenJDK installation]( -http://openjdk.java.net/install) for some methods of installing a prebuilt +http://openjdk.org/install) for some methods of installing a prebuilt JDK. ## Getting the Source Code Make sure you are getting the correct version. As of JDK 10, the source is no longer split into separate repositories so you only need to clone one single -repository. At the [OpenJDK Git site](https://git.openjdk.java.net/) you +repository. At the [OpenJDK Git site](https://git.openjdk.org/) you can see a list of all available repositories. If you want to build an older version, e.g. JDK 11, it is recommended that you get the `jdk11u` repo, which contains incremental updates, instead of the `jdk11` repo, which was frozen at JDK 11 GA. @@ -96,7 +96,7 @@ on where and how to check out the source code. Cygwin paths (which are used throughout the JDK build system). However, it does not currently work well with the Skara CLI tooling. Please see the [Skara wiki on Git clients]( - https://wiki.openjdk.java.net/display/SKARA/Skara#Skara-Git) for + https://wiki.openjdk.org/display/SKARA/Skara#Skara-Git) for up-to-date information about the Skara git client support. * The [Git for Windows](https://gitforwindows.org) client has issues @@ -173,7 +173,7 @@ used at Oracle, where header files and external libraries from an older version are used when building on a more modern version of the OS. The Build Group has a wiki page with [Supported Build Platforms]( -https://wiki.openjdk.java.net/display/Build/Supported+Build+Platforms). From +https://wiki.openjdk.org/display/Build/Supported+Build+Platforms). From time to time, this is updated by contributors to list successes or failures of building on different platforms. @@ -303,7 +303,7 @@ sudo apk add build-base bash grep zip ### AIX Please consult the AIX section of the [Supported Build Platforms]( -https://wiki.openjdk.java.net/display/Build/Supported+Build+Platforms) OpenJDK +https://wiki.openjdk.org/display/Build/Supported+Build+Platforms) OpenJDK Build Wiki page for details about which versions of AIX are supported. ## Native Compiler (Toolchain) Requirements @@ -397,7 +397,7 @@ be because of [spaces in path](#spaces-in-path). ### IBM XL C/C++ Please consult the AIX section of the [Supported Build Platforms]( -https://wiki.openjdk.java.net/display/Build/Supported+Build+Platforms) OpenJDK +https://wiki.openjdk.org/display/Build/Supported+Build+Platforms) OpenJDK Build Wiki page for details about which versions of XLC are supported. @@ -848,14 +848,14 @@ Suggestions for Advanced Users](#hints-and-suggestions-for-advanced-users) and ## Running Tests -Most of the JDK tests are using the [JTReg](http://openjdk.java.net/jtreg) +Most of the JDK tests are using the [JTReg](http://openjdk.org/jtreg) test framework. Make sure that your configuration knows where to find your installation of JTReg. If this is not picked up automatically, use the `--with-jtreg=` option to point to the JTReg framework. Note that this option should point to the JTReg home, i.e. the top directory, containing `lib/jtreg.jar` etc. -The [Adoption Group](https://wiki.openjdk.java.net/display/Adoption) provides +The [Adoption Group](https://wiki.openjdk.org/display/Adoption) provides recent builds of jtreg [here]( https://ci.adoptopenjdk.net/view/Dependencies/job/dependency_pipeline/lastSuccessfulBuild/artifact/jtreg/). Download the latest `.tar.gz` file, unpack it, and point `--with-jtreg` to the @@ -1548,7 +1548,7 @@ You can run `fsutil file setshortname` in `cmd` on certain directories, such as If none of the suggestions in this document helps you, or if you find what you believe is a bug in the build system, please contact the Build Group by sending -a mail to [build-dev@openjdk.java.net](mailto:build-dev@openjdk.java.net). +a mail to [build-dev@openjdk.org](mailto:build-dev@openjdk.org). Please include the relevant parts of the configure and/or build log. If you need general help or advice about developing for the JDK, you can also @@ -1958,7 +1958,7 @@ To analyze build performance, run with `LOG=trace` and check `$BUILD/build-trace Use `JOBS=1` to avoid parallelism. Please check that you adhere to the [Code Conventions for the Build System]( -http://openjdk.java.net/groups/build/doc/code-conventions.html) before +http://openjdk.org/groups/build/doc/code-conventions.html) before submitting patches. ## Contributing to the JDK @@ -1971,19 +1971,19 @@ However, please bear in mind that the JDK is a massive project, and we must ask you to follow our rules and guidelines to be able to accept your contribution. The official place to start is the ['How to contribute' page]( -http://openjdk.java.net/contribute/). There is also an official (but somewhat +http://openjdk.org/contribute/). There is also an official (but somewhat outdated and skimpy on details) [Developer's Guide]( -http://openjdk.java.net/guide/). +http://openjdk.org/guide/). If this seems overwhelming to you, the Adoption Group is there to help you! A good place to start is their ['New Contributor' page]( -https://wiki.openjdk.java.net/display/Adoption/New+Contributor), or start +https://wiki.openjdk.org/display/Adoption/New+Contributor), or start reading the comprehensive [Getting Started Kit]( https://adoptopenjdk.gitbooks.io/adoptopenjdk-getting-started-kit/en/). The Adoption Group will also happily answer any questions you have about contributing. Contact them by [mail]( -http://mail.openjdk.java.net/mailman/listinfo/adoption-discuss) or [IRC]( -http://openjdk.java.net/irc/). +http://mail.openjdk.org/mailman/listinfo/adoption-discuss) or [IRC]( +http://openjdk.org/irc/). ## Editing this document diff --git a/doc/hotspot-style.html b/doc/hotspot-style.html index 08a02b5bedd..c8823a8a2a6 100644 --- a/doc/hotspot-style.html +++ b/doc/hotspot-style.html @@ -68,8 +68,8 @@

      Counterexamples and Updates

      Many of the guidelines mentioned here have (sometimes widespread) counterexamples in the HotSpot code base. Finding a counterexample is not sufficient justification for new code to follow the counterexample as a precedent, since readers of your code will rightfully expect your code to follow the greater bulk of precedents documented here.

      Occasionally a guideline mentioned here may be just out of synch with the actual HotSpot code base. If you find that a guideline is consistently contradicted by a large number of counterexamples, please bring it up for discussion and possible change. The architectural rule, of course, is "When in Rome do as the Romans". Sometimes in the suburbs of Rome the rules are a little different; these differences can be pointed out here.

      -

      Proposed changes should be discussed on the HotSpot Developers mailing list. Changes are likely to be cautious and incremental, since HotSpot coders have been using these guidelines for years.

      -

      Substantive changes are approved by rough consensus of the HotSpot Group Members. The Group Lead determines whether consensus has been reached.

      +

      Proposed changes should be discussed on the HotSpot Developers mailing list. Changes are likely to be cautious and incremental, since HotSpot coders have been using these guidelines for years.

      +

      Substantive changes are approved by rough consensus of the HotSpot Group Members. The Group Lead determines whether consensus has been reached.

      Editorial changes (changes that only affect the description of HotSpot style, not its substance) do not require the full consensus gathering process. The normal HotSpot pull request process may be used for editorial changes, with the additional requirement that the requisite reviewers are also HotSpot Group Members.

      Structure and Formatting

      Factoring and Class Design

      @@ -238,7 +238,7 @@ while ( test_foo(args...) ) { // No, excess spaces around controlSome reasons for this include

      • Exceptions. Perhaps the largest core issue with adopting the use of Standard Library facilities is exceptions. HotSpot does not use exceptions and, for platforms which allow doing so, builds with them turned off. Many Standard Library facilities implicitly or explicitly use exceptions.

      • -
      • assert. An issue that is quickly encountered is the assert macro name collision (JDK-8007770). Some mechanism for addressing this would be needed before much of the Standard Library could be used. (Not all Standard Library implementations use assert in header files, but some do.)

      • +
      • assert. An issue that is quickly encountered is the assert macro name collision (JDK-8007770). Some mechanism for addressing this would be needed before much of the Standard Library could be used. (Not all Standard Library implementations use assert in header files, but some do.)

      • Memory allocation. HotSpot requires explicit control over where allocations occur. The C++98/03 std::allocator class is too limited to support our usage. (Changes in more recent Standards may remove this limitation.)

      • Implementation vagaries. Bugs, or simply different implementation choices, can lead to different behaviors among the various Standard Libraries we need to deal with.

      • Inconsistent naming conventions. HotSpot and the C++ Standard use different naming conventions. The coexistence of those different conventions might appear jarring and reduce readability.

      • @@ -272,7 +272,7 @@ while ( test_foo(args...) ) { // No, excess spaces around controlDue to bugs in certain (very old) compilers, there is widespread use of enums and avoidance of in-class initialization of static integral constant members. Compilers having such bugs are no longer supported. Except where an enum is semantically appropriate, new code should use integral constants.

        thread_local

        Avoid use of thread_local (n2659); and instead, use the HotSpot macro THREAD_LOCAL, for which the initializer must be a constant expression. When thread_local must be used, use the Hotspot macro APPROVED_CPP_THREAD_LOCAL to indicate that the use has been given appropriate consideration.

        -

        As was discussed in the review for JDK-8230877, thread_local allows dynamic initialization and destruction semantics. However, that support requires a run-time penalty for references to non-function-local thread_local variables defined in a different translation unit, even if they don't need dynamic initialization. Dynamic initialization and destruction of non-local thread_local variables also has the same ordering problems as for ordinary non-local variables. So we avoid use of thread_local in general, limiting its use to only those cases where dynamic initialization or destruction are essential. See JDK-8282469 for further discussion.

        +

        As was discussed in the review for JDK-8230877, thread_local allows dynamic initialization and destruction semantics. However, that support requires a run-time penalty for references to non-function-local thread_local variables defined in a different translation unit, even if they don't need dynamic initialization. Dynamic initialization and destruction of non-local thread_local variables also has the same ordering problems as for ordinary non-local variables. So we avoid use of thread_local in general, limiting its use to only those cases where dynamic initialization or destruction are essential. See JDK-8282469 for further discussion.

        nullptr

        Prefer nullptr (n2431) to NULL. Don't use (constexpr or literal) 0 for pointers.

        For historical reasons there are widespread uses of both NULL and of integer 0 as a pointer value.

        diff --git a/doc/hotspot-style.md b/doc/hotspot-style.md index c755d77f767..eeb9d21e74c 100644 --- a/doc/hotspot-style.md +++ b/doc/hotspot-style.md @@ -55,13 +55,13 @@ suburbs of Rome the rules are a little different; these differences can be pointed out here. Proposed changes should be discussed on the -[HotSpot Developers](mailto:hotspot-dev@openjdk.java.net) mailing +[HotSpot Developers](mailto:hotspot-dev@openjdk.org) mailing list. Changes are likely to be cautious and incremental, since HotSpot coders have been using these guidelines for years. Substantive changes are approved by [rough consensus](https://www.rfc-editor.org/rfc/rfc7282.html) of -the [HotSpot Group](https://openjdk.java.net/census#hotspot) Members. +the [HotSpot Group](https://openjdk.org/census#hotspot) Members. The Group Lead determines whether consensus has been reached. Editorial changes (changes that only affect the description of HotSpot @@ -550,7 +550,7 @@ turned off. Many Standard Library facilities implicitly or explicitly use exceptions. * `assert`. An issue that is quickly encountered is the `assert` macro name -collision ([JDK-8007770](https://bugs.openjdk.java.net/browse/JDK-8007770)). +collision ([JDK-8007770](https://bugs.openjdk.org/browse/JDK-8007770)). Some mechanism for addressing this would be needed before much of the Standard Library could be used. (Not all Standard Library implementations use assert in header files, but some do.) @@ -661,7 +661,7 @@ be a constant expression. When `thread_local` must be used, use the Hotspot macr consideration. As was discussed in the review for -[JDK-8230877](https://mail.openjdk.java.net/pipermail/hotspot-dev/2019-September/039487.html), +[JDK-8230877](https://mail.openjdk.org/pipermail/hotspot-dev/2019-September/039487.html), `thread_local` allows dynamic initialization and destruction semantics. However, that support requires a run-time penalty for references to non-function-local `thread_local` variables defined in a @@ -671,7 +671,7 @@ non-local `thread_local` variables also has the same ordering problems as for ordinary non-local variables. So we avoid use of `thread_local` in general, limiting its use to only those cases where dynamic initialization or destruction are essential. See -[JDK-8282469](https://bugs.openjdk.java.net/browse/JDK-8282469) +[JDK-8282469](https://bugs.openjdk.org/browse/JDK-8282469) for further discussion. ### nullptr diff --git a/make/Doctor.gmk b/make/Doctor.gmk index 3acbb4aa38d..39953cd28db 100644 --- a/make/Doctor.gmk +++ b/make/Doctor.gmk @@ -134,7 +134,7 @@ epilogue: check-bad-file-names $(ECHO) '* The build README (doc/building.md) is a great source of information,' $(ECHO) 'especially the chapter "Fixing Unexpected Build Failures". Check it out!' $(ECHO) - $(ECHO) '* If you still need assistance please contact build-dev@openjdk.java.net.' + $(ECHO) '* If you still need assistance please contact build-dev@openjdk.org.' $(ECHO) TARGETS += epilogue diff --git a/make/autoconf/configure.ac b/make/autoconf/configure.ac index 782ebbcdfa2..fd3723b4683 100644 --- a/make/autoconf/configure.ac +++ b/make/autoconf/configure.ac @@ -31,7 +31,7 @@ AC_PREREQ([2.69]) -AC_INIT(OpenJDK, openjdk, build-dev@openjdk.java.net,,http://openjdk.java.net) +AC_INIT(OpenJDK, openjdk, build-dev@openjdk.org,,https://openjdk.org) AC_CONFIG_AUX_DIR([$TOPDIR/make/autoconf/build-aux]) m4_include([build-aux/pkg.m4]) diff --git a/make/conf/branding.conf b/make/conf/branding.conf index 0a8571e1299..912e4f622db 100644 --- a/make/conf/branding.conf +++ b/make/conf/branding.conf @@ -1,5 +1,5 @@ # -# Copyright (c) 2011, 2020, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2011, 2022, 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 @@ -29,7 +29,7 @@ PRODUCT_SUFFIX="Runtime Environment" JDK_RC_PLATFORM_NAME=Platform COMPANY_NAME=N/A HOTSPOT_VM_DISTRO="OpenJDK" -VENDOR_URL=https://openjdk.java.net/ +VENDOR_URL=https://openjdk.org/ VENDOR_URL_BUG=https://bugreport.java.com/bugreport/ VENDOR_URL_VM_BUG=https://bugreport.java.com/bugreport/crash.jsp diff --git a/make/jdk/src/classes/build/tools/taglet/Incubating.java b/make/jdk/src/classes/build/tools/taglet/Incubating.java index 0670a9630ce..77446f1ba5f 100644 --- a/make/jdk/src/classes/build/tools/taglet/Incubating.java +++ b/make/jdk/src/classes/build/tools/taglet/Incubating.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2017, 2022, 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 @@ -56,7 +56,7 @@ public class Incubating implements Taglet { } private static final String MESSAGE = - "
        Incubating Feature." + "
        Incubating Feature." + " Will be removed in a future release."; @Override diff --git a/src/demo/share/jfc/J2Ddemo/README.txt b/src/demo/share/jfc/J2Ddemo/README.txt index ca57326ee6b..6b90fd23336 100644 --- a/src/demo/share/jfc/J2Ddemo/README.txt +++ b/src/demo/share/jfc/J2Ddemo/README.txt @@ -86,7 +86,7 @@ the methods in the CustomControlsContext interface. Here are some resources for learning about and using the Java2D(TM) -OpenJDK group page: http://openjdk.java.net/groups/2d/ +OpenJDK group page: https://openjdk.org/groups/2d/ Learning Java 2D: http://www.oracle.com/technetwork/articles/java/java2dpart1-137217.html diff --git a/src/hotspot/share/gc/shared/stringdedup/stringDedup.hpp b/src/hotspot/share/gc/shared/stringdedup/stringDedup.hpp index 1903ee72f6d..a0b77cab654 100644 --- a/src/hotspot/share/gc/shared/stringdedup/stringDedup.hpp +++ b/src/hotspot/share/gc/shared/stringdedup/stringDedup.hpp @@ -94,7 +94,7 @@ // of its Requests objects. // // For additional information on string deduplication, please see JEP 192, -// http://openjdk.java.net/jeps/192 +// https://openjdk.org/jeps/192 #include "memory/allocation.hpp" #include "memory/allStatic.hpp" diff --git a/src/java.base/share/classes/java/lang/Object.java b/src/java.base/share/classes/java/lang/Object.java index b7de0d33f44..b3bcb015cb7 100644 --- a/src/java.base/share/classes/java/lang/Object.java +++ b/src/java.base/share/classes/java/lang/Object.java @@ -568,7 +568,7 @@ public class Object { * @deprecated Finalization is deprecated and subject to removal in a future * release. The use of finalization can lead to problems with security, * performance, and reliability. - * See JEP 421 for + * See JEP 421 for * discussion and alternatives. *

        * Subclasses that override {@code finalize} to perform cleanup should use diff --git a/src/java.base/share/classes/java/lang/SecurityManager.java b/src/java.base/share/classes/java/lang/SecurityManager.java index 671b3999a3f..7e3e4338127 100644 --- a/src/java.base/share/classes/java/lang/SecurityManager.java +++ b/src/java.base/share/classes/java/lang/SecurityManager.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 1995, 2021, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1995, 2022, 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 @@ -310,7 +310,7 @@ import sun.security.util.SecurityConstants; * @since 1.0 * @deprecated The Security Manager is deprecated and subject to removal in a * future release. There is no replacement for the Security Manager. - * See JEP 411 for + * See JEP 411 for * discussion and alternatives. */ @Deprecated(since="17", forRemoval=true) diff --git a/src/java.base/share/classes/java/lang/reflect/ClassFileFormatVersion.java b/src/java.base/share/classes/java/lang/reflect/ClassFileFormatVersion.java index 90536cbd362..b1258f0236d 100644 --- a/src/java.base/share/classes/java/lang/reflect/ClassFileFormatVersion.java +++ b/src/java.base/share/classes/java/lang/reflect/ClassFileFormatVersion.java @@ -160,7 +160,7 @@ public enum ClassFileFormatVersion { * @see * The Java Virtual Machine Specification, Java SE 11 Edition - * @see + * @see * JEP 181: Nest-Based Access Control */ RELEASE_11(55), @@ -202,7 +202,7 @@ public enum ClassFileFormatVersion { * @see * The Java Virtual Machine Specification, Java SE 15 Edition - * @see + * @see * JEP 371: Hidden Classes */ RELEASE_15(59), @@ -227,9 +227,9 @@ public enum ClassFileFormatVersion { * @see * The Java Virtual Machine Specification, Java SE 17 Edition - * @see + * @see * JEP 306: Restore Always-Strict Floating-Point Semantics - * @see + * @see * JEP 409: Sealed Classes */ RELEASE_17(61), diff --git a/src/java.base/share/classes/java/util/concurrent/CompletableFuture.java b/src/java.base/share/classes/java/util/concurrent/CompletableFuture.java index 2a79e7fa6e0..89eec2f8d0f 100644 --- a/src/java.base/share/classes/java/util/concurrent/CompletableFuture.java +++ b/src/java.base/share/classes/java/util/concurrent/CompletableFuture.java @@ -3021,7 +3021,7 @@ public class CompletableFuture implements Future, CompletionStage { } // Reduce the risk of rare disastrous classloading in first call to - // LockSupport.park: https://bugs.openjdk.java.net/browse/JDK-8074773 + // LockSupport.park: https://bugs.openjdk.org/browse/JDK-8074773 Class ensureLoaded = LockSupport.class; } } diff --git a/src/java.base/share/classes/java/util/concurrent/ConcurrentHashMap.java b/src/java.base/share/classes/java/util/concurrent/ConcurrentHashMap.java index bce6008f167..63ff6f21be9 100644 --- a/src/java.base/share/classes/java/util/concurrent/ConcurrentHashMap.java +++ b/src/java.base/share/classes/java/util/concurrent/ConcurrentHashMap.java @@ -6376,7 +6376,7 @@ public class ConcurrentHashMap extends AbstractMap ASHIFT = 31 - Integer.numberOfLeadingZeros(scale); // Reduce the risk of rare disastrous classloading in first call to - // LockSupport.park: https://bugs.openjdk.java.net/browse/JDK-8074773 + // LockSupport.park: https://bugs.openjdk.org/browse/JDK-8074773 Class ensureLoaded = LockSupport.class; // Eager class load observed to help JIT during startup diff --git a/src/java.base/share/classes/java/util/concurrent/ForkJoinTask.java b/src/java.base/share/classes/java/util/concurrent/ForkJoinTask.java index ce9eb9e74ea..e0737cde89d 100644 --- a/src/java.base/share/classes/java/util/concurrent/ForkJoinTask.java +++ b/src/java.base/share/classes/java/util/concurrent/ForkJoinTask.java @@ -1570,7 +1570,7 @@ public abstract class ForkJoinTask implements Future, Serializable { * @since 19 */ public static ForkJoinTask adaptInterruptible(Callable callable) { - // https://bugs.openjdk.java.net/browse/JDK-8246587 + // https://bugs.openjdk.org/browse/JDK-8246587 return new AdaptedInterruptibleCallable(callable); } diff --git a/src/java.base/share/classes/java/util/concurrent/FutureTask.java b/src/java.base/share/classes/java/util/concurrent/FutureTask.java index 9d35ce2505d..371055d2c11 100644 --- a/src/java.base/share/classes/java/util/concurrent/FutureTask.java +++ b/src/java.base/share/classes/java/util/concurrent/FutureTask.java @@ -583,7 +583,7 @@ public class FutureTask implements RunnableFuture { } // Reduce the risk of rare disastrous classloading in first call to - // LockSupport.park: https://bugs.openjdk.java.net/browse/JDK-8074773 + // LockSupport.park: https://bugs.openjdk.org/browse/JDK-8074773 Class ensureLoaded = LockSupport.class; } diff --git a/src/java.base/share/classes/java/util/concurrent/LinkedTransferQueue.java b/src/java.base/share/classes/java/util/concurrent/LinkedTransferQueue.java index cc30c5dfeef..cb6b33ddb7d 100644 --- a/src/java.base/share/classes/java/util/concurrent/LinkedTransferQueue.java +++ b/src/java.base/share/classes/java/util/concurrent/LinkedTransferQueue.java @@ -1660,7 +1660,7 @@ public class LinkedTransferQueue extends AbstractQueue } // Reduce the risk of rare disastrous classloading in first call to - // LockSupport.park: https://bugs.openjdk.java.net/browse/JDK-8074773 + // LockSupport.park: https://bugs.openjdk.org/browse/JDK-8074773 Class ensureLoaded = LockSupport.class; } } diff --git a/src/java.base/share/classes/java/util/concurrent/Phaser.java b/src/java.base/share/classes/java/util/concurrent/Phaser.java index e5dee8b4494..22e2f663cb9 100644 --- a/src/java.base/share/classes/java/util/concurrent/Phaser.java +++ b/src/java.base/share/classes/java/util/concurrent/Phaser.java @@ -1147,7 +1147,7 @@ public class Phaser { } // Reduce the risk of rare disastrous classloading in first call to - // LockSupport.park: https://bugs.openjdk.java.net/browse/JDK-8074773 + // LockSupport.park: https://bugs.openjdk.org/browse/JDK-8074773 Class ensureLoaded = LockSupport.class; } } diff --git a/src/java.base/share/classes/java/util/concurrent/SubmissionPublisher.java b/src/java.base/share/classes/java/util/concurrent/SubmissionPublisher.java index e3c2a6098d8..4aed7639eb1 100644 --- a/src/java.base/share/classes/java/util/concurrent/SubmissionPublisher.java +++ b/src/java.base/share/classes/java/util/concurrent/SubmissionPublisher.java @@ -1517,7 +1517,7 @@ public class SubmissionPublisher implements Publisher, } // Reduce the risk of rare disastrous classloading in first call to - // LockSupport.park: https://bugs.openjdk.java.net/browse/JDK-8074773 + // LockSupport.park: https://bugs.openjdk.org/browse/JDK-8074773 Class ensureLoaded = LockSupport.class; } } diff --git a/src/java.base/share/classes/java/util/concurrent/SynchronousQueue.java b/src/java.base/share/classes/java/util/concurrent/SynchronousQueue.java index 926897c4f1d..c22d9b1d8ae 100644 --- a/src/java.base/share/classes/java/util/concurrent/SynchronousQueue.java +++ b/src/java.base/share/classes/java/util/concurrent/SynchronousQueue.java @@ -1162,7 +1162,7 @@ public class SynchronousQueue extends AbstractQueue static { // Reduce the risk of rare disastrous classloading in first call to - // LockSupport.park: https://bugs.openjdk.java.net/browse/JDK-8074773 + // LockSupport.park: https://bugs.openjdk.org/browse/JDK-8074773 Class ensureLoaded = LockSupport.class; } } diff --git a/src/java.base/share/classes/jdk/internal/javac/PreviewFeature.java b/src/java.base/share/classes/jdk/internal/javac/PreviewFeature.java index 3d508c6a294..c0d9f4e60b3 100644 --- a/src/java.base/share/classes/jdk/internal/javac/PreviewFeature.java +++ b/src/java.base/share/classes/jdk/internal/javac/PreviewFeature.java @@ -30,7 +30,7 @@ import java.lang.annotation.*; /** * Indicates the API declaration in question is associated with a * preview feature. See JEP 12: "Preview Language and VM - * Features" (http://openjdk.java.net/jeps/12). + * Features" (https://openjdk.org/jeps/12). * * Note this internal annotation is handled specially by the javac compiler. * To work properly with {@code --release older-release}, it requires special diff --git a/src/java.base/unix/native/libjava/ProcessImpl_md.c b/src/java.base/unix/native/libjava/ProcessImpl_md.c index 9c63d05279f..a01a67ed35b 100644 --- a/src/java.base/unix/native/libjava/ProcessImpl_md.c +++ b/src/java.base/unix/native/libjava/ProcessImpl_md.c @@ -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.java.net/pipermail/core-libs-dev/2018-September/055333.html). + * described in http://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. diff --git a/src/java.compiler/share/classes/javax/lang/model/SourceVersion.java b/src/java.compiler/share/classes/javax/lang/model/SourceVersion.java index ca8ec05982a..26be8fbfc32 100644 --- a/src/java.compiler/share/classes/javax/lang/model/SourceVersion.java +++ b/src/java.compiler/share/classes/javax/lang/model/SourceVersion.java @@ -195,7 +195,7 @@ public enum SourceVersion { * The Java Language Specification, Java SE 9 Edition * @see * JSR 376: Java™ Platform Module System - * @see + * @see * JEP 213: Milling Project Coin */ RELEASE_9, @@ -212,7 +212,7 @@ public enum SourceVersion { * @see * The Java Language Specification, Java SE 10 Edition - * @see + * @see * JEP 286: Local-Variable Type Inference */ RELEASE_10, @@ -229,7 +229,7 @@ public enum SourceVersion { * @see * The Java Language Specification, Java SE 11 Edition - * @see + * @see * JEP 323: Local-Variable Syntax for Lambda Parameters */ RELEASE_11, @@ -271,7 +271,7 @@ public enum SourceVersion { * @see * The Java Language Specification, Java SE 14 Edition - * @see + * @see * JEP 361: Switch Expressions */ RELEASE_14, @@ -287,7 +287,7 @@ public enum SourceVersion { * @see * The Java Language Specification, Java SE 15 Edition - * @see + * @see * JEP 378: Text Blocks */ RELEASE_15, @@ -304,9 +304,9 @@ public enum SourceVersion { * @see * The Java Language Specification, Java SE 16 Edition - * @see + * @see * JEP 394: Pattern Matching for instanceof - * @see + * @see * JEP 395: Records */ RELEASE_16, @@ -323,9 +323,9 @@ public enum SourceVersion { * @see * The Java Language Specification, Java SE 17 Edition - * @see + * @see * JEP 306: Restore Always-Strict Floating-Point Semantics - * @see + * @see * JEP 409: Sealed Classes */ RELEASE_17, diff --git a/src/java.desktop/share/classes/javax/swing/JEditorPane.java b/src/java.desktop/share/classes/javax/swing/JEditorPane.java index 75808851599..236e187fde8 100644 --- a/src/java.desktop/share/classes/javax/swing/JEditorPane.java +++ b/src/java.desktop/share/classes/javax/swing/JEditorPane.java @@ -1963,7 +1963,7 @@ public class JEditorPane extends JTextComponent { * as appropriate for that link. *

        * E.g. from HTML: - * <a href="http://openjdk.java.net">OpenJDK</a> + * <a href="https://openjdk.org">OpenJDK</a> * this method would return a String containing the text: * 'OpenJDK'. *

        diff --git a/src/java.desktop/share/classes/sun/awt/util/IdentityArrayList.java b/src/java.desktop/share/classes/sun/awt/util/IdentityArrayList.java index 202a55a8135..d78de33394f 100644 --- a/src/java.desktop/share/classes/sun/awt/util/IdentityArrayList.java +++ b/src/java.desktop/share/classes/sun/awt/util/IdentityArrayList.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2007, 2021, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2007, 2022, 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 @@ -143,7 +143,7 @@ public class IdentityArrayList extends AbstractList elementData = c.toArray(); size = elementData.length; // defend against c.toArray (incorrectly) not returning Object[] - // (see e.g. https://bugs.openjdk.java.net/browse/JDK-6260652) + // (see e.g. https://bugs.openjdk.org/browse/JDK-6260652) if (elementData.getClass() != Object[].class) elementData = Arrays.copyOf(elementData, size, Object[].class); } diff --git a/src/java.xml/share/classes/com/sun/org/apache/bcel/internal/Const.java b/src/java.xml/share/classes/com/sun/org/apache/bcel/internal/Const.java index e3c7099e454..a4c7a51a2a6 100644 --- a/src/java.xml/share/classes/com/sun/org/apache/bcel/internal/Const.java +++ b/src/java.xml/share/classes/com/sun/org/apache/bcel/internal/Const.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, 2021, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2017, 2022, Oracle and/or its affiliates. All rights reserved. */ /* * Licensed to the Apache Software Foundation (ASF) under one or more @@ -469,7 +469,7 @@ public final class Const { /** * Marks a constant pool entry as dynamically computed. - * @see + * @see * Change request for JEP 309 * @since 6.3 */ diff --git a/src/java.xml/share/classes/com/sun/org/apache/bcel/internal/classfile/ConstantDynamic.java b/src/java.xml/share/classes/com/sun/org/apache/bcel/internal/classfile/ConstantDynamic.java index ed569151615..312f7d2efd3 100644 --- a/src/java.xml/share/classes/com/sun/org/apache/bcel/internal/classfile/ConstantDynamic.java +++ b/src/java.xml/share/classes/com/sun/org/apache/bcel/internal/classfile/ConstantDynamic.java @@ -31,7 +31,7 @@ import com.sun.org.apache.bcel.internal.Const; * and represents a reference to a dynamically computed constant. * * @see Constant - * @see + * @see * Change request for JEP 309 * @since 6.3 */ diff --git a/src/java.xml/share/classes/javax/xml/catalog/CatalogFeatures.java b/src/java.xml/share/classes/javax/xml/catalog/CatalogFeatures.java index 78480a820d7..3e740c2a413 100644 --- a/src/java.xml/share/classes/javax/xml/catalog/CatalogFeatures.java +++ b/src/java.xml/share/classes/javax/xml/catalog/CatalogFeatures.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2015, 2022, 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 @@ -279,10 +279,10 @@ import jdk.xml.internal.SecuritySupport; *

    * @@ -312,10 +312,10 @@ import jdk.xml.internal.SecuritySupport; *
    *
    {@literal
        The following XInclude element:
    -   
    +   
     
        can be resolved using a URI entry:
    -   
    +   
        or
        
      * }
    @@ -294,15 +294,15 @@ import jdk.xml.internal.SecuritySupport; *
    *
    {@literal
        The following import element:
    -    
    +    
     
        can be resolved using a URI entry:
    -   
    +   
        or
        
        or
    -   
    +   
      * }
    *
    *
    {@literal
        The following include element:
    -   
    +   
     
        can be resolved using a URI entry:
    -   
    +   
        or
        
      * }
    @@ -327,10 +327,10 @@ import jdk.xml.internal.SecuritySupport; *
    *
    {@literal
        The following include element:
    -   
    +   
     
        can be resolved using a URI entry:
    -   
    +   
        or
        
      * }
    @@ -342,10 +342,10 @@ import jdk.xml.internal.SecuritySupport; *
    *
    {@literal
        The document in the following element:
    -   
    +   
     
        can be resolved using a URI entry:
    -   
    +   
        or
        
      * }
    diff --git a/src/jdk.accessibility/windows/native/include/bridge/AccessBridgeCalls.h b/src/jdk.accessibility/windows/native/include/bridge/AccessBridgeCalls.h index 46b42fd1c82..4ca3d76f079 100644 --- a/src/jdk.accessibility/windows/native/include/bridge/AccessBridgeCalls.h +++ b/src/jdk.accessibility/windows/native/include/bridge/AccessBridgeCalls.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2005, 2022, 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 @@ -31,13 +31,13 @@ * AccessBridgeCalls.c is available for download from the OpenJDK repository using * the following link: * - * http://hg.openjdk.java.net/jdk9/jdk9/jdk/raw-file/tip/src/jdk.accessibility/windows/native/bridge/AccessBridgeCalls.c + * https://git.openjdk.org/jdk17/blob/master/src/jdk.accessibility/windows/native/bridge/AccessBridgeCalls.c * * Also note that the API is used in the jaccessinspector and jaccesswalker tools. * The source for those tools is available in the OpenJDK repository at these links: * - * http://hg.openjdk.java.net/jdk9/jdk9/jdk/file/tip/src/jdk.accessibility/windows/native/jaccessinspector/jaccessinspector.cpp - * http://hg.openjdk.java.net/jdk9/jdk9/jdk/file/tip/src/jdk.accessibility/windows/native/jaccesswalker/jaccesswalker.cpp + * https://git.openjdk.org/jdk17/blob/master/src/jdk.accessibility/windows/native/jaccessinspector/jaccessinspector.cpp + * https://git.openjdk.org/jdk17/blob/master/src/jdk.accessibility/windows/native/jaccesswalker/jaccesswalker.cpp * * */ diff --git a/src/jdk.incubator.vector/share/classes/jdk/incubator/vector/AbstractMask.java b/src/jdk.incubator.vector/share/classes/jdk/incubator/vector/AbstractMask.java index 378cf70552d..051e573939e 100644 --- a/src/jdk.incubator.vector/share/classes/jdk/incubator/vector/AbstractMask.java +++ b/src/jdk.incubator.vector/share/classes/jdk/incubator/vector/AbstractMask.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, 2021, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2017, 2022, 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 @@ -225,7 +225,7 @@ abstract class AbstractMask extends VectorMask { // For integral types, *all* lane bits will be set. // The bits for -1.0 are like {0b10111*0000*}. // FIXME: Use a conversion intrinsic for this operation. - // https://bugs.openjdk.java.net/browse/JDK-8225740 + // https://bugs.openjdk.org/browse/JDK-8225740 return (AbstractVector) zero.blend(mone, this); } diff --git a/src/jdk.incubator.vector/share/classes/jdk/incubator/vector/AbstractShuffle.java b/src/jdk.incubator.vector/share/classes/jdk/incubator/vector/AbstractShuffle.java index 60df1899610..d648fd86484 100644 --- a/src/jdk.incubator.vector/share/classes/jdk/incubator/vector/AbstractShuffle.java +++ b/src/jdk.incubator.vector/share/classes/jdk/incubator/vector/AbstractShuffle.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018, 2021, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2018, 2022, 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 @@ -114,7 +114,7 @@ abstract class AbstractShuffle extends VectorShuffle { // are already clipped. At this point we convert // them from internal ints (or bytes) into the ETYPE. // FIXME: Use a conversion intrinsic for this operation. - // https://bugs.openjdk.java.net/browse/JDK-8225740 + // https://bugs.openjdk.org/browse/JDK-8225740 return (AbstractVector) vspecies().fromIntValues(toArray()); } diff --git a/src/jdk.incubator.vector/share/classes/jdk/incubator/vector/AbstractSpecies.java b/src/jdk.incubator.vector/share/classes/jdk/incubator/vector/AbstractSpecies.java index 80f2de5d6cd..fac0012e646 100644 --- a/src/jdk.incubator.vector/share/classes/jdk/incubator/vector/AbstractSpecies.java +++ b/src/jdk.incubator.vector/share/classes/jdk/incubator/vector/AbstractSpecies.java @@ -140,7 +140,7 @@ abstract class AbstractSpecies extends jdk.internal.vm.vector.VectorSupport.V return (Class) laneType.elementType; } - // FIXME: appeal to general method (see https://bugs.openjdk.java.net/browse/JDK-6176992) + // FIXME: appeal to general method (see https://bugs.openjdk.org/browse/JDK-6176992) // replace usages of this method and remove @ForceInline @SuppressWarnings("unchecked") diff --git a/src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotResolvedJavaMethod.java b/src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotResolvedJavaMethod.java index 4b8b7a26e10..a7f80cea39a 100644 --- a/src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotResolvedJavaMethod.java +++ b/src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotResolvedJavaMethod.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, 2020, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2022, 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 @@ -112,7 +112,7 @@ public interface HotSpotResolvedJavaMethod extends ResolvedJavaMethod { * this is denoted by the {@code IntrinsicCandidate} annotation. In earlier JDK versions, this * method returns true. * - * @see JDK-8076112 + * @see JDK-8076112 */ boolean isIntrinsicCandidate(); diff --git a/src/jdk.javadoc/share/classes/jdk/javadoc/internal/package-info.java b/src/jdk.javadoc/share/classes/jdk/javadoc/internal/package-info.java index 1eb7f736a0a..856bdd2eed9 100644 --- a/src/jdk.javadoc/share/classes/jdk/javadoc/internal/package-info.java +++ b/src/jdk.javadoc/share/classes/jdk/javadoc/internal/package-info.java @@ -162,8 +162,8 @@ * This code and its internal interfaces are subject to change or * deletion without notice. * - * @see JavaDoc Architecture - * @see Using the new Doclet API - * @see Processing Code + * @see JavaDoc Architecture + * @see Using the new Doclet API + * @see Processing Code */ package jdk.javadoc.internal; \ No newline at end of file diff --git a/src/jdk.jdeps/share/classes/com/sun/tools/jdeps/resources/jdeps.properties b/src/jdk.jdeps/share/classes/com/sun/tools/jdeps/resources/jdeps.properties index b33d4f02180..ca37404469e 100644 --- a/src/jdk.jdeps/share/classes/com/sun/tools/jdeps/resources/jdeps.properties +++ b/src/jdk.jdeps/share/classes/com/sun/tools/jdeps/resources/jdeps.properties @@ -267,4 +267,4 @@ inverse.transitive.dependencies.matching=Inverse transitive dependences matching internal.api.column.header=JDK Internal API public.api.replacement.column.header=Suggested Replacement artifact.not.found=not found -jdeps.wiki.url=https://wiki.openjdk.java.net/display/JDK8/Java+Dependency+Analysis+Tool +jdeps.wiki.url=https://wiki.openjdk.org/display/JDK8/Java+Dependency+Analysis+Tool diff --git a/src/jdk.jdeps/share/classes/com/sun/tools/jdeps/resources/jdeps_de.properties b/src/jdk.jdeps/share/classes/com/sun/tools/jdeps/resources/jdeps_de.properties index 78130eb8de6..2abc4ce35d9 100644 --- a/src/jdk.jdeps/share/classes/com/sun/tools/jdeps/resources/jdeps_de.properties +++ b/src/jdk.jdeps/share/classes/com/sun/tools/jdeps/resources/jdeps_de.properties @@ -129,4 +129,4 @@ inverse.transitive.dependencies.matching=Inverse transitive Abh\u00E4ngigkeiten, internal.api.column.header=JDK-interne API public.api.replacement.column.header=Vorgeschlagene Ersetzung artifact.not.found=nicht gefunden -jdeps.wiki.url=https://wiki.openjdk.java.net/display/JDK8/Java+Dependency+Analysis+Tool +jdeps.wiki.url=https://wiki.openjdk.org/display/JDK8/Java+Dependency+Analysis+Tool diff --git a/src/jdk.jdeps/share/classes/com/sun/tools/jdeps/resources/jdeps_ja.properties b/src/jdk.jdeps/share/classes/com/sun/tools/jdeps/resources/jdeps_ja.properties index 3a031b6b1a1..96af85b187d 100644 --- a/src/jdk.jdeps/share/classes/com/sun/tools/jdeps/resources/jdeps_ja.properties +++ b/src/jdk.jdeps/share/classes/com/sun/tools/jdeps/resources/jdeps_ja.properties @@ -129,4 +129,4 @@ inverse.transitive.dependencies.matching={0}\u306B\u4E00\u81F4\u3059\u308B\u63A8 internal.api.column.header=JDK\u5185\u90E8API public.api.replacement.column.header=\u4FEE\u6B63\u5019\u88DC artifact.not.found=\u898B\u3064\u304B\u308A\u307E\u305B\u3093 -jdeps.wiki.url=https://wiki.openjdk.java.net/display/JDK8/Java+Dependency+Analysis+Tool +jdeps.wiki.url=https://wiki.openjdk.org/display/JDK8/Java+Dependency+Analysis+Tool diff --git a/src/jdk.jdeps/share/classes/com/sun/tools/jdeps/resources/jdeps_zh_CN.properties b/src/jdk.jdeps/share/classes/com/sun/tools/jdeps/resources/jdeps_zh_CN.properties index 8f0bc7b9b95..8aadcc5750e 100644 --- a/src/jdk.jdeps/share/classes/com/sun/tools/jdeps/resources/jdeps_zh_CN.properties +++ b/src/jdk.jdeps/share/classes/com/sun/tools/jdeps/resources/jdeps_zh_CN.properties @@ -129,4 +129,4 @@ inverse.transitive.dependencies.matching=\u4E0E {0} \u5339\u914D\u7684\u9006\u54 internal.api.column.header=JDK \u5185\u90E8 API public.api.replacement.column.header=\u5EFA\u8BAE\u7684\u66FF\u6362 artifact.not.found=\u627E\u4E0D\u5230 -jdeps.wiki.url=https://wiki.openjdk.java.net/display/JDK8/Java+Dependency+Analysis+Tool +jdeps.wiki.url=https://wiki.openjdk.org/display/JDK8/Java+Dependency+Analysis+Tool diff --git a/src/jdk.jdeps/share/classes/com/sun/tools/jdeps/resources/jdkinternals.properties b/src/jdk.jdeps/share/classes/com/sun/tools/jdeps/resources/jdkinternals.properties index cf38447ceee..a60d0c7d6ba 100644 --- a/src/jdk.jdeps/share/classes/com/sun/tools/jdeps/resources/jdkinternals.properties +++ b/src/jdk.jdeps/share/classes/com/sun/tools/jdeps/resources/jdkinternals.properties @@ -1,6 +1,6 @@ ########################################################################### # -# Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2014, 2022, 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 @@ -34,16 +34,16 @@ com.sun.net.ssl.internal.ssl.Provider=Use java.security.Security.getProvider(pro com.sun.rowset=Use javax.sql.rowset.RowSetProvider @since 1.7 com.sun.tools.javac.tree=Use com.sun.source @since 1.6 com.sun.tools.javac=Use javax.tools and javax.lang.model @since 1.6 -java.awt.peer=Should not use. See https://bugs.openjdk.java.net/browse/JDK-8037739 -java.awt.dnd.peer=Should not use. See https://bugs.openjdk.java.net/browse/JDK-8037739 +java.awt.peer=Should not use. See https://bugs.openjdk.org/browse/JDK-8037739 +java.awt.dnd.peer=Should not use. See https://bugs.openjdk.org/browse/JDK-8037739 jdk.internal.ref.Cleaner=Use java.lang.ref.PhantomReference @since 1.2 or java.lang.ref.Cleaner @since 9 sun.awt.CausedFocusEvent=Use java.awt.event.FocusEvent::getCause @since 9 sun.font.FontUtilities=See java.awt.Font.textRequiresLayout @since 9 sun.reflect.Reflection=Use java.lang.StackWalker @since 9 -sun.reflect.ReflectionFactory=See http://openjdk.java.net/jeps/260 -sun.misc.Unsafe=See http://openjdk.java.net/jeps/260 -sun.misc.Signal=See http://openjdk.java.net/jeps/260 -sun.misc.SignalHandler=See http://openjdk.java.net/jeps/260 +sun.reflect.ReflectionFactory=See https://openjdk.org/jeps/260 +sun.misc.Unsafe=See https://openjdk.org/jeps/260 +sun.misc.Signal=See https://openjdk.org/jeps/260 +sun.misc.SignalHandler=See https://openjdk.org/jeps/260 sun.security.action=Use java.security.PrivilegedAction @since 1.1 sun.security.krb5=Use com.sun.security.jgss sun.security.provider.PolicyFile=Use java.security.Policy.getInstance("JavaPolicy", new URIParameter(uri)) @since 1.6 @@ -55,15 +55,15 @@ sun.security.x509.X500Name=Use javax.security.auth.x500.X500Principal @since 1.4 sun.tools.jar=Use java.util.jar or jar tool @since 1.2 # Internal APIs removed in JDK 9 com.apple.eawt=Use java.awt.Desktop and JEP 272 @since 9 -com.apple.concurrent=Removed. See https://bugs.openjdk.java.net/browse/JDK-8148187 +com.apple.concurrent=Removed. See https://bugs.openjdk.org/browse/JDK-8148187 com.sun.image.codec.jpeg=Use javax.imageio @since 1.4 sun.awt.image.codec=Use javax.imageio @since 1.4 sun.misc.BASE64Encoder=Use java.util.Base64 @since 1.8 sun.misc.BASE64Decoder=Use java.util.Base64 @since 1.8 sun.misc.Cleaner=Use java.lang.ref.PhantomReference @since 1.2 or java.lang.ref.Cleaner @since 9 sun.misc.Service=Use java.util.ServiceLoader @since 1.6 -sun.misc=Removed. See http://openjdk.java.net/jeps/260 -sun.reflect=Removed. See http://openjdk.java.net/jeps/260 +sun.misc=Removed. See https://openjdk.org/jeps/260 +sun.reflect=Removed. See https://openjdk.org/jeps/260 diff --git a/src/jdk.management/aix/native/libmanagement_ext/UnixOperatingSystem.c b/src/jdk.management/aix/native/libmanagement_ext/UnixOperatingSystem.c index f0f06264fce..228c5eb5c14 100644 --- a/src/jdk.management/aix/native/libmanagement_ext/UnixOperatingSystem.c +++ b/src/jdk.management/aix/native/libmanagement_ext/UnixOperatingSystem.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2020, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2008, 2022, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2015, 2020 SAP SE. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * @@ -25,7 +25,7 @@ */ /* Empty stubs for now to satisfy the new build process. */ -/* Implement and update https://bugs.openjdk.java.net/browse/JDK-8030957 */ +/* Implement and update https://bugs.openjdk.org/browse/JDK-8030957 */ #include #include "com_sun_management_internal_OperatingSystemImpl.h" diff --git a/src/utils/IdealGraphVisualizer/README.md b/src/utils/IdealGraphVisualizer/README.md index f15f78f5a55..d507158fddd 100644 --- a/src/utils/IdealGraphVisualizer/README.md +++ b/src/utils/IdealGraphVisualizer/README.md @@ -47,4 +47,4 @@ with unique names being generated by adding a number onto the provided file name. More information about the tool is available at -https://wiki.openjdk.java.net/display/HotSpot/IdealGraphVisualizer. +https://wiki.openjdk.org/display/HotSpot/IdealGraphVisualizer. diff --git a/src/utils/LogCompilation/README b/src/utils/LogCompilation/README index db9b20aec47..5bd76b4b576 100644 --- a/src/utils/LogCompilation/README +++ b/src/utils/LogCompilation/README @@ -13,9 +13,9 @@ Adding the -i option with also report inlining like PrintInlining. More information about the LogCompilation output can be found at -https://wiki.openjdk.java.net/display/HotSpot/LogCompilation+overview -https://wiki.openjdk.java.net/display/HotSpot/PrintCompilation -https://wiki.openjdk.java.net/display/HotSpot/LogCompilation+tool +https://wiki.openjdk.org/display/HotSpot/LogCompilation+overview +https://wiki.openjdk.org/display/HotSpot/PrintCompilation +https://wiki.openjdk.org/display/HotSpot/LogCompilation+tool The project layout is now for Maven. To build the project with Maven do: diff --git a/src/utils/hsdis/README.md b/src/utils/hsdis/README.md index 02bab9706f8..98b08477450 100644 --- a/src/utils/hsdis/README.md +++ b/src/utils/hsdis/README.md @@ -83,7 +83,7 @@ you need to augment your `PATH` variable to also point to where you installed LLVM (like `C:\LLVM\bin`). More information is available at the [HotSpot -wiki](https://wiki.openjdk.java.net/display/HotSpot/PrintAssembly). +wiki](https://wiki.openjdk.org/display/HotSpot/PrintAssembly). ## Building with Capstone