You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by pk...@apache.org on 2023/10/05 19:12:44 UTC
[logging-log4j2] 07/11: Improve warning message if multi-release JARs are not supported (#1833, #1760)
This is an automated email from the ASF dual-hosted git repository.
pkarwasz pushed a commit to branch release/2.21.0
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
commit d7d851562403aea03d588a86bac05c4b46826ee4
Author: Florian Schmaus <fl...@geekplace.eu>
AuthorDate: Thu Oct 5 15:39:56 2023 +0200
Improve warning message if multi-release JARs are not supported (#1833, #1760)
---
log4j-api/src/main/java/org/apache/logging/log4j/util/StackLocator.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/log4j-api/src/main/java/org/apache/logging/log4j/util/StackLocator.java b/log4j-api/src/main/java/org/apache/logging/log4j/util/StackLocator.java
index 2ee943185e..3c0881bc54 100644
--- a/log4j-api/src/main/java/org/apache/logging/log4j/util/StackLocator.java
+++ b/log4j-api/src/main/java/org/apache/logging/log4j/util/StackLocator.java
@@ -80,7 +80,7 @@ public final class StackLocator {
} catch (final Exception | LinkageError e) {
if (Constants.JAVA_MAJOR_VERSION > 8) {
LowLevelLogUtil.log(
- "WARNING: Runtime environment does not support multi-release JARs. This will impact location-based features.");
+ "WARNING: Runtime environment or build system does not support multi-release JARs. This will impact location-based features.");
} else {
LowLevelLogUtil.log(
"WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact location-based features.");