From 38d55e31d26932051bf6d98b9af6554401d9723e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Deleuze?= Date: Tue, 21 Nov 2023 15:06:08 +0100 Subject: [PATCH] Refine AppCDS documentation --- .../modules/ROOT/pages/integration/class-data-sharing.adoc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/framework-docs/modules/ROOT/pages/integration/class-data-sharing.adoc b/framework-docs/modules/ROOT/pages/integration/class-data-sharing.adoc index 5ada4794f9cb..042a45e5e349 100644 --- a/framework-docs/modules/ROOT/pages/integration/class-data-sharing.adoc +++ b/framework-docs/modules/ROOT/pages/integration/class-data-sharing.adoc @@ -59,4 +59,6 @@ a "shared objects file" source, as shown in the following example: TIP: If you have a large number of classes that are not loaded from the cache, make sure that the JDK and classpath used by the commands that create the archive and start the application -are identical. +are identical. Note also that to effectively cache classes, the classpath should specified +as a list of JARs containing those classes, and avoid the usage of directories and `*` +wildcard characters.