This is an automated email from the ASF dual-hosted git repository. vy pushed a commit to branch release/2.21.0 in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
commit b45978419c7b46d2474dd0d8f9af42f19102c0b1 Author: Florian Schmaus <[email protected]> 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.");
