<div dir="ltr">Hi Rory,<div><br></div><div>TestNG has an alternative build system which we will try to use to build it using the Jigsaw binary.</div><div><br></div><div>How do you report such bugs to Gradle / Groovy ? Is it simpler if you reported to them on their mailing list ? Let me know what works best, this is fairly important as other Gradle users might have similar issues.</div><div><br></div><div>Cheers,</div><div>Mani</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 2, 2015 at 8:51 AM, Rory O'Donnell <span dir="ltr"><<a href="mailto:rory.odonnell@oracle.com" target="_blank">rory.odonnell@oracle.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I can't find a bug in Gradle's JIRA on this issue, Mani do you want to log an issue there ?<br>
<br>
Rgds,Rory<div class="HOEnZb"><div class="h5"><br>
<br>
On 31/10/2015 13:56, Alan Bateman wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 31/10/2015 12:50, Mani Sarkar wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Rory,<br>
<br>
Do you know of a version of Gradle or a EA version which is JDK 9 Jigsaw compatible, we get these failures when building:<br>
<br>
<a href="https://adopt-openjdk.ci.cloudbees.com/view/Quality%20Outreach/job/TestNG-Jigsaw/5/console" rel="noreferrer" target="_blank">https://adopt-openjdk.ci.cloudbees.com/view/Quality%20Outreach/job/TestNG-Jigsaw/5/console</a> <br>
<br>
</blockquote>
Caused by: java.lang.IllegalAccessException: class org.gradle.internal.reflect.DirectInstantiator cannot access class com.sun.tools.javac.api.JavacTool (in module jdk.compiler) because module jdk.compiler does not export package com.sun.tools.javac.api to <unnamed module @b7f23d9><br>
at org.gradle.internal.reflect.DirectInstantiator.newInstance(DirectInstantiator.java:49)<br>
... 86 more<br>
<br>
We should at least check if there is a bug in the Gradle JIRA for this. It can be worked around by configuring the compileJava options to fork javac but you might not want to do that.<br>
<br>
The other issue with Gradle that we know about is the ClassCastException when attempting to run tests, this is tracked here:<br>
<a href="https://issues.gradle.org/browse/GRADLE-3287" rel="noreferrer" target="_blank">https://issues.gradle.org/browse/GRADLE-3287</a><br>
<br>
-Alan.<br>
<br>
</blockquote>
<br></div></div><span class="HOEnZb"><font color="#888888">
-- <br>
Rgds,Rory O'Donnell<br>
Quality Engineering Manager<br>
Oracle EMEA , Dublin, Ireland<br>
<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><a href="http://twitter.com/theNeomatrix369" target="_blank">@theNeomatrix369</a><b style="color:rgb(136,136,136);font-family:arial,helvetica,sans-serif"> | </b><b><a href="http://neomatrix369.wordpress.com" target="_blank">Blog</a></b><b style="color:rgb(136,136,136);font-family:arial,helvetica,sans-serif"> | </b>LJC Associate & LJC Advocate (@adoptopenjdk & @adoptajsr programs)<div><font face="arial, helvetica, sans-serif"><b>Meet-a-Project - </b><a href="https://github.com/MutabilityDetector" target="_blank">MutabilityDetector</a></font><b style="color:rgb(136,136,136);font-family:arial,helvetica,sans-serif"> | </b><font color="#888888" face="arial, helvetica, sans-serif"><font style="font-size:10pt" color="#000000"><b><a href="https://bitbucket.org/neomatrix369" target="_blank">Bitbucket</a></b></font> <b> | </b><font style="font-size:10pt" color="#000000"><b><a href="https://github.com/neomatrix369" target="_blank">G<font style="font-size:10pt">i</font>thub</a></b></font></font><span style="color:rgb(136,136,136);font-family:arial,helvetica,sans-serif"> </span><b style="color:rgb(136,136,136);font-family:arial,helvetica,sans-serif"> | </b><b><a href="http://uk.linkedin.com/pub/mani-sarkar/71/a77/39b" target="_blank">LinkedIn</a></b></div><div><b>Come to Devoxx UK 2016:</b> <a href="http://www.devoxx.co.uk/" target="_blank">http://www.devoxx.co.uk/</a></div><div><br></div><div><b><i>Don't chase success, rather aim for "Excellence", and success will come chasing after you!</i></b></div></div></div></div></div>
</div></div>