TestNG build failing with JDK9 Jigsaw due to Gradle
sadhak001 at gmail.com
Mon Nov 2 22:23:38 UTC 2015
TestNG has an alternative build system which we will try to use to build it
using the Jigsaw binary.
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.
On Mon, Nov 2, 2015 at 8:51 AM, Rory O'Donnell <rory.odonnell at oracle.com>
> I can't find a bug in Gradle's JIRA on this issue, Mani do you want to log
> an issue there ?
> On 31/10/2015 13:56, Alan Bateman wrote:
>> On 31/10/2015 12:50, Mani Sarkar wrote:
>>> Hi Rory,
>>> Do you know of a version of Gradle or a EA version which is JDK 9 Jigsaw
>>> compatible, we get these failures when building:
>>> 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>
>> ... 86 more
>> 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.
>> The other issue with Gradle that we know about is the ClassCastException
>> when attempting to run tests, this is tracked here:
> Rgds,Rory O'Donnell
> Quality Engineering Manager
> Oracle EMEA , Dublin, Ireland
@theNeomatrix369 <http://twitter.com/theNeomatrix369>* | **Blog
<http://neomatrix369.wordpress.com>** | *LJC Associate & LJC Advocate
(@adoptopenjdk & @adoptajsr programs)
*Meet-a-Project - *MutabilityDetector
<https://github.com/MutabilityDetector>* | **Bitbucket
<https://bitbucket.org/neomatrix369>* * | **Github
<https://github.com/neomatrix369>* * | **LinkedIn
*Come to Devoxx UK 2016:* http://www.devoxx.co.uk/
*Don't chase success, rather aim for "Excellence", and success will come
chasing after you!*
More information about the jigsaw-dev