Skip to content

Commit a1400fd

Browse files
authored
Improve warning message if multi-release JARs are not supported (#1833, #1760)
1 parent 331a8a6 commit a1400fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

log4j-api/src/main/java/org/apache/logging/log4j/util/StackLocator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public final class StackLocator {
8080
} catch (final Exception | LinkageError e) {
8181
if (Constants.JAVA_MAJOR_VERSION > 8) {
8282
LowLevelLogUtil.log(
83-
"WARNING: Runtime environment does not support multi-release JARs. This will impact location-based features.");
83+
"WARNING: Runtime environment or build system does not support multi-release JARs. This will impact location-based features.");
8484
} else {
8585
LowLevelLogUtil.log(
8686
"WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact location-based features.");

0 commit comments

Comments
 (0)