Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log4J2 shows warning about degraded performance when running on Java 11 #1071

Open
tobous opened this issue Jul 30, 2020 · 2 comments
Open

Comments

@tobous
Copy link
Member

tobous commented Jul 30, 2020

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

@m273d15
Copy link
Contributor

m273d15 commented Jul 31, 2020

Have you tried the suggested fix: Adding Multi-Release: true to the MANIFEST.MF?

@tobous
Copy link
Member Author

tobous commented Jul 31, 2020

Have you tried the suggested fix: Adding Multi-Release: true to the MANIFEST.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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants