You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by vy...@apache.org on 2023/10/05 13:40:03 UTC
[logging-log4j2] branch 2.x updated: Improve warning message if multi-release JARs are not supported (#1833, #1760)
This is an automated email from the ASF dual-hosted git repository.
vy pushed a commit to branch 2.x
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
The following commit(s) were added to refs/heads/2.x by this push:
new a1400fd7eb Improve warning message if multi-release JARs are not supported (#1833, #1760)
a1400fd7eb is described below
commit a1400fd7ebc6863ab02ba10252d3a9ea1275058a
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.");