3 ms·
>not sure what log4j1 is doing If it's the bug I ran into then their code to detect running on a legacy JVM is tripping with the new JVM version numbers and it
by garblegarble 8y ago
>not sure what log4j1 is doing
If it's the bug I ran into then their code to detect running on a legacy JVM is tripping with the new JVM version numbers and it thinks that it's running under ancient Java 1.x. It's then saved in the org.apache.log4j.helpers.Loader.java1 field.
To migrate some code that needs log4j12 to more recent versions of Java I ended up writing a hack that accesses Loader before log4j uses it and manually sets that field to "false"