[GRADLE-3578] Daemon JVM crashes if Java compiler uses different Jansi version than bundled with Gradle Created: 02/Nov/16 Updated: 24/Jan/17 Resolved: 24/Jan/17
|Reporter:||Benjamin Muschko||Assignee:||Benjamin Muschko|
|Known Issue Of:|
Reported via GitHub issues: https://github.com/gradle/gradle/issues/778
The daemon JVM crash with a thread dump. The relevant portion of the thread dump shows an issue with the version of Jansi used by Gradle.
In this case an annotation processor used by the Java compiler provides its own version of Jansi. Gradle sets a custom library path for the Jansi library for extraction and consumption which doesn't seem to be compatible with the provided Jansi version of the annotation processor. A bug in Jansi seems to cause a horrible crash of the JVM.
A workaround is to fork the Java compilation process.
|Comment by Benjamin Muschko [ 15/Nov/16 ]|
As announced on the Gradle blog we are planning to completely migrate issues from JIRA to GitHub.
We intend to prioritize issues that are actionable and impactful while working more closely with the community. Many of our JIRA issues are inactionable or irrelevant. We would like to request your help to ensure we can appropriately prioritize JIRA issues you’ve contributed to.
Please confirm that you still advocate for your JIRA issue before December 10th, 2016 by:
We look forward to collaborating with you more closely on GitHub. Thank you for your contribution to Gradle!
|Comment by Benjamin Muschko [ 24/Jan/17 ]|
We'll continue to track the work on GitHub.