saros
saros copied to clipboard
Log4J2 shows warning about degraded performance when running on Java 11
When running Saros on a Java 11 runtime environment, the following warning is displayed in the log:
WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance.
This problem is described in the following StackOverflow entry: https://stackoverflow.com/questions/53049346/is-log4j2-compatible-with-java-11
Have you tried the suggested fix: Adding Multi-Release: true to the MANIFEST.MF?
Have you tried the suggested fix: Adding
Multi-Release: trueto theMANIFEST.MF?
I added it to the manifest section of the IntelliJ jar build, but it did not change anything.
attributes(mutableMapOf(
"Created-By" to "IntelliJ IDEA",
"Manifest-Version" to "1.0",
"Multi-Release" to "true"
But I only tested it with the runIDE task. I don't know whether it actually uses the built jar or some other, internal mechanism to deploy the plugin.