Closed ceki closed 2 years ago
The Loader.isJava1() test in org.apache.log4j.MDC is broken when run in JDK 9 or later. MDC incorrectly assumes that the runtime environment is Java 1.1 (not 11 but 1.1) and disables MDC functionality entirely.
Loader.isJava1()
org.apache.log4j.MDC
Fixed in commit 86d356c98
The
Loader.isJava1()
test inorg.apache.log4j.MDC
is broken when run in JDK 9 or later. MDC incorrectly assumes that the runtime environment is Java 1.1 (not 11 but 1.1) and disables MDC functionality entirely.