[GRADLE-3565] Java9 / Jigsaw (b136) issues Created: 21/Sep/16 Updated: 18/Jan/17 Resolved: 18/Jan/17 |
|
Status: | Resolved |
Project: | Gradle |
Affects Version/s: | 3.0 |
Fix Version/s: | None |
Type: | Bug | ||
Reporter: | Jendrik Johannes (Inactive) | Assignee: | Unassigned |
Resolution: | Duplicate | Votes: | 1 |
Description |
There are several reports that Gradle 3.x broke with Java9 b136. https://discuss.gradle.org/t/jigsaw-b136-gradle-problem/19580 https://discuss.gradle.org/t/urlclassloader-classcastexception/19579 |
Comments |
Comment by Alan Bateman [ 15/Oct/16 ] |
We are seeing two issues when using Gradle 3.1 with the Jigsaw EA builds:
This one can be worked around by running Gradle with `--add-exports-private java.base/java.lang=ALL-UNNAMED`. The second one is uglier:
where it should be possible to workaround with `--add-exports-private java.base/java.util=ALL-UNNAMED`, assuming there is a way to get this option into the command line of the launched VM. |
Comment by Alan Bateman [ 15/Oct/16 ] |
There was a discussion on jigsaw-dev about this recently: |
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 Alan Bateman [ 15/Nov/16 ] |
I think this issue is very high priority as there are many developers trying to use Gradle with JDK 9 and running into problems. The JavaFX build is one one example. There are also Oracle products trying to use Gradle with JDK 9 and running into the issues in this JIRA. |
Comment by Daniel Lacasse (Inactive) [ 18/Jan/17 ] |
gradle/gradle#890 is going to be used to track all Jigsaw runtime related work for Gradle. We encourage you to subscribe to that issue. |