From cc79f8ac2a4beaae9b443c86e351fab81c6ad562 Mon Sep 17 00:00:00 2001 From: Calvin Cheung Date: Fri, 17 Jan 2025 23:43:23 +0000 Subject: [PATCH] 8348013: [doc] fix typo in java.md caused by JDK-8347763 --- src/java.base/share/man/java.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/java.base/share/man/java.md b/src/java.base/share/man/java.md index ee6952cf46ce1..78b763f578639 100644 --- a/src/java.base/share/man/java.md +++ b/src/java.base/share/man/java.md @@ -1,5 +1,5 @@ --- -# Copyright (c) 1994, 2024, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1994, 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 @@ -3978,12 +3978,12 @@ The values for these options (if specified), should be identical when creating a CDS archive. Otherwise, if there is a mismatch of any of these options, the CDS archive may be partially or completely disabled, leading to lower performance. -- If the -XX:+AOTClassLoading options *was* used during CDS archive creation, the CDS archive +- If the -XX:+AOTClassLinking options *was* used during CDS archive creation, the CDS archive cannot be used, and the following error message is printed: `CDS archive has aot-linked classes. It cannot be used when archived full module graph is not used` -- If the -XX:+AOTClassLoading options *was not* used during CDS archive creation, the CDS archive +- If the -XX:+AOTClassLinking options *was not* used during CDS archive creation, the CDS archive can be used, but the "archived module graph" feature will be disabled. This can lead to increased start-up time.